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 :)
You should have jq, git, curl
Ready
- Copy
example-env.sh
toenv.sh
& customize it. -
- Run for one repo
chmod +x ./git-mover.sh
./git-mover.sh <Your Repo address>
-
- run for all repos
./move-all.sh
- 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