copenndthagen
copenndthagen

Reputation: 50742

TortoiseGit unversion entire folder

I created a new folder (myApp) locally and copied some files/folders from another reference directory/folder (which was taken from a Git repo using TortoiseGit)

Now this new folder (myApp) is also showing the tracking things or icons like green tick, cross mark, etc I want this to be removed completely (folder/sub-folders, files, etc) i.e. I just want to keep the folder locally myApp without any kind of tracking.

How can I do that ?

Upvotes: 2

Views: 3244

Answers (1)

MrTux
MrTux

Reputation: 34003

Hold the Shift-Key and open the context menu on that folder. Then select "Delete (keep local)". This unversiones the selected folder/files. Then commit these changes so that the files are removed in the repository.

If you then want that this folder/file does not appear on the commit dialog, you have to add it to the ignore list.

Upvotes: 2

Related Questions