Git: Before you pull you need to commit your changes

*Doesn't even run a git diff to see what changes git was talking about.*

git checkout .
git clean -i
git pull

  • 0
    Ah, I generally issue "meld ." to see all the changes.

    Anyone got a nice OSS alternative to meld on OS X btw?

    Also, I almost wanna give you -- for using "git pull" instead of "git pull --rebase" (but I mean, ++ it is :) )
  • 0
    @piehole most people configure that in their git config
Add Comment