Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # git br-update ${prefix} ${branch}
  2. # updates develop; delete local and remote branch and recreate local branch with up to date with develop
  3. [alias]
  4. br-update = "!f() { git co develop && git pull && git br -D \"$1\"/\"$2\" && if ( git push origin --delete \"$1\"/\"$2\" ); then echo TRUE; else echo FALSE; fi && git remote update origin --prune && git flow \"$1\" start \"$2\"; }; f"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement