Knowledge.ToString()

Git GUI: How to unstage individual staged file

Here are two ways to unstage individual staged file using Git GUI.

Option 1

Select individual file under “Staged Changes” which you want to stage. You may use Shift or Ctrl keys to select those files. Once selected, click on “Commit” menu and select “Unstage From Commit”

Git GUI staged to unstaged single file select

It will stage the selected files

Git GUI staged to unstaged single file done

Option 2

Click on individual file icon in “Staged Changes”. Make sure you click on icon and not on the file name. Otherwise it will not work.

Git GUI staged to unstaged single file icon click

It will stage the clicked file

Git GUI staged to unstaged single file done

Share

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *