Git
Rename only remote branch
$ git push origin origin/old:refs/heads/new :old
Convert SVN to Git
$ git svn clone \
--no-minimize-url \
--authors-file=authors.txt \
--no-metadata \
--username bob \
https://example.com/svn/Foo/Bar \
./Bar \
;
authors.txt
:
bob = Bob <bob@example.com>
iris = Iris <iris@example.com>
Configuration
$ git config --global https.proxy http://127.0.0.1:8081
$ git config --global http.proxy http://127.0.0.1:8081
$ git config --global user.name "Anonymous"
$ git config --global user.email "anonymous@anonymous.org"
$ git config --global core.autocrlf false
$ git config --global core.filemode false
$ git config --global branch.autosetuprebase always