what you do on local master?
I've probably run all of the following on/using master in the last 2 weeks (albeit some via aliases)
git pull --ff-only git branch --merged git branch -r --merged git rebase master git merge master git checkout -b git reset --hard HEAD git checkout master -- ./foo git diff master...HEAD -- ./foo
Yep most of these would be equal with origin/master, but that is more typing, and others might result in a longer message (merge commit)
Not checking my commands but what is wrong with
git fetch & git switch --detach origin/master git branch --merged git branch -r --merged git rebase origin/master git merge origin/master git switch -c git reset --hard HEAD git checkout origin/master -- ./foo git diff origin/master...HEAD -- ./foo
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.
I've probably run all of the following on/using master in the last 2 weeks (albeit some via aliases)
Yep most of these would be equal with origin/master, but that is more typing, and others might result in a longer message (merge commit)
Not checking my commands but what is wrong with