Last active
January 3, 2020 02:18
-
-
Save mauricioprado00/dc15a4142a6b216e0940da0086f8a244 to your computer and use it in GitHub Desktop.
Revisions
-
mauricioprado00 revised this gist
Jan 3, 2020 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,10 @@ #!/usr/bin/env bash if [[ -z "$1" || -z "$2" ]]; then echo usage: echo " git pushfull <remotename_orig> <remotename_dest>" exit 1 fi git push "$2" refs/remotes/$1/*:refs/heads/* -
mauricioprado00 created this gist
Dec 19, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/usr/bin/env bash if [ -z "$1" ]; then echo usage: echo " git pushfull 'remotename'" exit 1 fi git push "$1" refs/remotes/origin/*:refs/heads/*