Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function git_switch_branch($destination){
  2. git add --all
  3. git stash save
  4. git checkout $destination
  5. git stash pop
  6. }
  7. New-Alias -Name gswitch -Value git_switch_branch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement