I have (since I am new to GIT) some files ready to be pushed on the master branch. I however don't want to ever push to the master, does anyone know how I can see what files I have committed but not yet pushed and how to possibly un-commit them, if something like that is possible.
Hi
If you look in the History view you will see a log of your commits. You can then select any given commit and using the context menu (if you are on Windows) you can choose to either revert commits or reset your repository to a state before your commit.
Reverts will essentially create a new commit reverting the effects of the selected commit.
e.g. If you had 2 commits you didn't want, 3 and 4 in the list below
If you choose to reset to commit 2 you are effectively un-doing commits 3 and 4, it is like they never happened.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.