I want to download the latest changes and get started. Made git pull , but after that git status shows Your branch is ahead of 'origin / master' by 15 commits
How to get rid of these commits? I just want to get the latest version and work.
I want to download the latest changes and get started. Made git pull , but after that git status shows Your branch is ahead of 'origin / master' by 15 commits
How to get rid of these commits? I just want to get the latest version and work.
Source: https://ru.stackoverflow.com/questions/711785/
All Articles
git push- send your commits. If you want to roll back hard to the origin, then -git reset --hard origin/develop. I suspect that you pulled up changes from one branch and switched to another? or all your 15 commits? - Artem Gorlachevgit reset --hard origin/develop, and all the changes that I made are gone" - insolororigin/master, you have 15 more new commits. - Nick Volynkin ♦