Advertisement
krot

Перенос git репозитория

Nov 9th, 2021
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. git clone --bare git@git.test.com:my-repo-a.git
  2. git fetch origin
  3. git remote add new-origin git@git.test.com:my-repo-b.git
  4. git push --mirror new-origin
  5. git remote rm origin
  6. git remote rename new-origin origin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement