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.
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.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events