Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Creates a new feature branch named MCLUB-{ticket-number} from origin/{release}
- # This branch does not track the remote
- # example: nt 1442 1.4.2
- nt(){
- git checkout -b "MCLUB-$1" --no-track "origin/$2"
- }
- # Pushes current branch to a new remote branch that it will track.
- gpub(){
- git push -u origin $(git symbolic-ref --short HEAD)
- }
Add Comment
Please, Sign In to add comment