Guest User

Untitled

a guest
Dec 13th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # Creates a new feature branch named MCLUB-{ticket-number} from origin/{release}
  2. # This branch does not track the remote
  3. # example: nt 1442 1.4.2
  4.  
  5. nt(){
  6. git checkout -b "MCLUB-$1" --no-track "origin/$2"
  7. }
  8.  
  9. # Pushes current branch to a new remote branch that it will track.
  10. gpub(){
  11. git push -u origin $(git symbolic-ref --short HEAD)
  12. }
Add Comment
Please, Sign In to add comment