Reputation: 3
whenever i do a git pull, it gives me an error along the lines of:
Please, commit your changes or stash them before you can merge.
I have tried git stash and the suggestions on this stackoverflow page and they didnt help either
Upvotes: 0
Views: 27
Reputation: 346
I would suggest checking out this resource Github Guide
git add . // Adds all your unstaged files
git commit -m "message in here" // Commits your files and adds a message
git push // Pushes your commit to the repo
Upvotes: 0
Reputation:
the first suggestion "commit the changes" should work, perhaps you forgot to first run "git add -A" before doing "git commit -m 'commit message'"?
Upvotes: 1