/git-mover

an script to move a git repo between two git managers

Primary LanguageShellGNU General Public License v3.0GPL-3.0

git-mover

banner

an script to move a git repo between two git managers (For now only for GitLab)

some times you are migrating between two gitlab or other git manager instances so you need it :)

requirements

You should have jq, git, curl Ready

How to run

  1. Copy example-env.sh to env.sh & customize it.
    1. Run for one repo
chmod +x ./git-mover.sh
./git-mover.sh <Your Repo address>
    1. run for all repos
./move-all.sh

TODO

  • Create another script do it for all repos (in a loop)
  • Variables from env.sh are not working (source command will solve it I think) [it should work now]
  • Move merge requests if it's posible
  • We Are Getting Merge Requests and Merge requests curl is success but it's not creating them
  • Create golang based CLI