I've been using git in the console for the last couple of months and I feel like there's a little too much typing.
Here's my flow (assuming I'm on foo
branch):
[ ... working ... ]
git add .
git commit -m "Commit message"
git pull origin foo
git push origin foo
I know it's one of first world problems but is there a way of cutting the typing here? Can I just use git pull
and git push
for example? What's the difference between git push
, git push origin foo
?