Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

git pull just runs git fetch then git merge.

At least that is what the docs say: http://git-scm.com/docs/git-pull

What am I missing?



but it tries to be smart about how to merge. and usually it's not what you want. i consider it the clippy of linus.

if you run merge/rebase/etc on its own, it will tell and ask you about anything out of the ordinary and then there's no surprise.

again, it's all about avoiding errors on the rare cases because you developed dangerous finger memory.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: