Git – local uncommitted changes, cannot merge
So you’ve made some changes locally but there are changes on the server that you want – so you want to merge them into your workarea.
Great, git pull… but no, this aborts if there are local uncommitted changes :( .
So, instead, you – you can either throw away the local changes using “git reset –hard”.
Or if you want to keep them, use “git stash”, like this:
git stash – saves your changes away on a branch.
git pull to get the remote changes
git stash apply to apply your local changes to your workarea.
Why couldn’t they just merge, or at least have an option for it? :(