Ok, found an omission,
> $ git push --set-upstream origin master
is not enough, it will push only master. So I issued
> $ git push --all
now all branches show up in
https://git.sr.ht/~amforth/code/refs
and in

git pull
git branch -a

Cheers,
Erich



Erich =?utf-8?Q?W=C3=A4lde?= <ew.fo...@nassur.net> writes:

> Dear AmForthers,
>
> I forgot to "document", how I did it, in case someone else finds
> this useful.
>
> Cheers,
> Erich
>
>
> working on Debian 10 (buster), amd64
>
> cd path/to/svn/working/tree
>
> svn up
>
> svn info
> # Path: .
> # Working Copy Root Path: /home/ew/eGeek/sourceforge.net/amforth-code
> # URL: svn+ssh://erwae...@svn.code.sf.net/p/amforth/code
> # Relative URL: ^/
> # Repository Root: svn+ssh://erwae...@svn.code.sf.net/p/amforth/code
> # Repository UUID: fd1c0b69-5d68-47f5-910c-86182ebb6ecd
> # Revision: 2457
> # Node Kind: directory
> # Schedule: normal
> # Last Changed Author: erwaelde
> # Last Changed Rev: 2457
> # Last Changed Date: 2020-12-30 17:15:03 +0100 (Wed, 30 Dec 2020)
>
> sudo apt install svn2git # ruby stuff
>
> cd path/to/your/favourite/place
>
> mkdir amforth.git
>
> cd amforth.git
>
> svn2git https://svn.code.sf.net/p/amforth/code --branches releases
> # ...
> # r2457 = 0a29a13bc693b187d4eaa49f936bda90e7be7958 (refs/remotes/svn/trunk)
> # Checked out HEAD:
> #   https://svn.code.sf.net/p/amforth/code/trunk r2457
> # ...
>
> git remote add origin g...@git.sr.ht:~amforth/code
>
> git remote -v
> # origin        g...@git.sr.ht:~amforth/code (fetch)
> # origin        g...@git.sr.ht:~amforth/code (push)
>
> $ git push --set-upstream origin master
>
> git log
> # commit 0a29a13bc693b187d4eaa49f936bda90e7be7958 (HEAD -> master, 
> origin/master)
> # Author: erwaelde <erwaelde@fd1c0b69-5d68-47f5-910c-86182ebb6ecd>
> # Date:   Wed Dec 30 16:15:03 2020 +0000
> # 
> #     added tools/partdescription
> # 
> # commit ebdf8caa204c3b1725688e47160d92c37a0b6a8c
> # Author: erwaelde <erwaelde@fd1c0b69-5d68-47f5-910c-86182ebb6ecd>
> # Date:   Fri Dec 18 21:41:20 2020 +0000
> # 
> #     Early release of a new test subdirectory. Only one targetboard so far. 
> See test/Howto.txt
> # ...


-- 
May the Forth be with you ...

_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to