Alias for $git push -u
I've been using Git for about a year now and I use quite a few aliases, but I can't believe I'm still typing 'git push -u' to push my changes.
Add a new alias:
alias push='git push -u'
Now you just need to type 'push' to push your latest changes.
Written by Juan Fernandes
Related protips
1 Response
I prefer just psh
faster :)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#