Skip to content

Instantly share code, notes, and snippets.

View antomor's full-sized avatar
🎯
Focusing

Antonio Morrone antomor

🎯
Focusing
View GitHub Profile
@antomor
antomor / git.migrate
Created May 4, 2021 06:59 — forked from CESARDELATORRE/git.migrate
Move your existing git repository # to a new remote repository
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
### OPTION 1 ###########################################################################################
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
@antomor
antomor / procedure-to-archive-git-branches.md
Created December 27, 2022 14:54 — forked from zkiraly/procedure-to-archive-git-branches.md
Procedure to archive git branches.