Une page interessante à visiter avant https://gist.github.com/aquelito/8596717
git config --global core.autcrlf false
Pour éviter les commit de merge lié à vos pull
:
git config --global pull.rebase true
Pour tester que vous pourrez merger votre_branche avec master
git checkout master
git merge --no-ff --no-commit votre_branche
Si cela se passe bien, git va vous le dire "Automatic merge went well; stopped before committing as requested". Il ne reste plus qu'à annuler car on faisait juste un test
git merge --abort