Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove directory/file from Git cache using GitKraken

Tags:

git

gitkraken

I know I can do this from the command line via SO answer but I want this first world problem solved of being able to do it via the GUI

like image 940
Brian Schermerhorn Avatar asked Sep 02 '16 03:09

Brian Schermerhorn


1 Answers

I haven't found an exact equivalent to git rm --cached, but I found how to ignore a tracked file/directory and remove it from cache at the same time (which is often what I need):

  • Right-click on file/directory > Ignore > Choose a pattern

enter image description here

  • Select Ignore and Stop Tracking

enter image description here

like image 73
hsandt Avatar answered Sep 29 '22 09:09

hsandt