Stop your inconsiderate "git pull"
July 29, 2014
A recent merge request:
Why is it a problem ?
Because when you navigate in your commits log, this is a lot of noise. Of course, you can filter the logs but when you go through your commits log, it's rarely for the beauty of it. It's because you need to fix a bug, or assert if a specific fix made it into the current branch.
Why does it behave like that ?
Because- you want to stay up-to-date with "origin/develop" and you pull regularly AND
- your local "develop" has a change not in "origin/develop"
How to prevent that
- git fetch --all
- git co -b devtodo origin/develop
- [commit brilliant programming here]
- git fetch --all
- git merge origin/develop
- git push origin develop
- [create a clear merge request or send a patch]