https://github.com/mhkarimi1383/git-mover
an script to move a git repo between two git managers
https://github.com/mhkarimi1383/git-mover
git gitlab gitlabmigration shell shell-script
Last synced: 3 months ago
JSON representation
an script to move a git repo between two git managers
- Host: GitHub
- URL: https://github.com/mhkarimi1383/git-mover
- Owner: mhkarimi1383
- License: gpl-3.0
- Created: 2021-06-16T11:31:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-02T10:31:48.000Z (over 4 years ago)
- Last Synced: 2025-03-24T15:16:08.820Z (8 months ago)
- Topics: git, gitlab, gitlabmigration, shell, shell-script
- Language: Shell
- Homepage:
- Size: 273 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-mover

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.
2. 1. Run for one repo
```bash
chmod +x ./git-mover.sh
./git-mover.sh
```
2. 2. run for all repos
```bash
./move-all.sh
```
## TODO
- [x] Create another script do it for all repos (in a loop)
- [x] Variables from `env.sh` are not working (source command will solve it I think) [it should work now]
- [x] 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