Created
December 7, 2016 15:36
-
-
Save alexbartsch/5c7869a319a463e651306880a901cb18 to your computer and use it in GitHub Desktop.
Script for archiving git branch.
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 characters
#!/bin/bash | |
git branch merged/$1 origin/$1 | |
git push origin merged/$1 | |
git push origin :$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment