Your workflow example also isn't the most optimal one could
git pull origin <branch>
I understand one wouldn't do this as it does not update you local copy of the branch. My view on that is of course different.
That's why I alias git pull origin master to gpom.
git pull origin master
gpom
Yeah that is useless for me as I
git fetch origin git rebase origin/master
git fetch origin
git rebase origin/master
Whatever works for you.
git pull --rebase origin master
Would actually do what I do. So many options.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Your workflow example also isn't the most optimal one could
git pull origin <branch>
I understand one wouldn't do this as it does not update you local copy of the branch. My view on that is of course different.
Delete Your Master
Jesse Phillips ・ Apr 8 '19 ・ 1 min read
That's why I alias
git pull origin master
togpom
.Yeah that is useless for me as I
git fetch origin
git rebase origin/master
Whatever works for you.
git pull --rebase origin master
Would actually do what I do. So many options.