Regular Git Operations

Check Status

To check status of your Git repository, you can use Git > Status

This has the same behavior as the bash command:

git status

If you have files ready to be committed, they will be listed in the Output panel. If there is nothing to commit, you’ll see a notification ‘working directory clean’.

Add Files to Index

After initializing your repository, you can add files to index. Choose a file in the Project/Package explorer and go to Git > Add.

A new window will open:


Check Update box if you need to do so, and click Add. Success of this operation will be confirmed

Command line equivalents:

add all project files to index

git add .

add a particular file to index

git add <path to a file>

update the file but not add new files to index

git add <path to a file>

update all project files, without adding new files

git add . -u

Commit Files

When files are added to index, you can commit them to a local repository. Go to Git > Commit

Check Add modified and deleted files box, if necessary, and enter a log message to let you identify the commit.


After a successful commit you will see a confirmation message in the Output panel. You can also find information about commits in the History.

Command line equivalent:

git commit -m <log message>

Git add and git commit:

git commit -a -m <log message>

Reset Particular Commit

You can reset a commit by using Git > Reset. Choose the commit you want to reset and decide on the reset type that suits your needs, for example reset the index only, both index and working tree or just the head.


Command line equivalent:

git reset --soft
git reset --mixed
git reset --hard

Reset Index

If you do not want to remove individual files from index, go to Git > Reset Index. Choose any file(s) and click Reset. The selected files will be removed from index but will stay in the local repository.

Command line equivalent

git reset <filename>

Remove Files

If you need to remove files from a working directory and index, go to Git > Remove. Check Remove only from index box if you want to keep your files in a working directory but remove them from index.

Command line equivalents:

delete file from the repository but keep it locally

git rm --cashed <filename>

delete file both from index and a working directory

git rm <file name>

View History

To view the commit history and compare different versions, go to Git > History. A new tab will open to the right of the editor window.


You can compare your commits and highlight differences.

View Git URL

You can view and copy read only Git URL of your project at Git > Git URL (Read-Only)

Up ↑