a simple shell script to move GIT repositry from there to here. This script is 100+ lines, so it must be suitable to learn a shell script writing.
Get the repository
git clone https://github.com/fmlorg/git2git-simple
or
git clone ssh://git@github.com/fmlorg/git2git-simple
run
sh git2git-simple.sh SRC_REPO DST_REPO
where SRC_REPO and DST_REPO should be a github format e.g. ssh://git@github.com/id/repo.
If you want to move an old repository "fmlorg/git2git-simple" to a new repository "example/git-move" on the github.com,
- create "example/git-move" repository on the github.com
- run the following command
sh git2git-simple.sh ssh://git@github.com/fmlorg/git2git-simple ssh://git@github.com/example/git-move- this script clone the old repository
- upload the old repository content to the new repository