Guest User

Untitled

a guest
Dec 11th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. alias gcmo='branch_name=`get_branch` && git checkout develop && git pull && git merge $branch_name'
  2.  
  3. function get_branch() {
  4. git branch --no-color | grep -E '^\*' | awk '{print $2}' || echo "default_value"
  5. }
Add Comment
Please, Sign In to add comment