Git Show Unpushed Commits
Git Show Unpushed Commits . Git responds by telling you that you are ahead n. This will restore your file to the original state. Integrating Remote Changes Learn Version Control with Git from www.git-tower.com Disgard all the unpushed commits in git. It will not uncommit changes. You can do this at any point in time (by using git's interactive rebase feature), though it is most often done when merging branches.