Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to move a versioned file to unversioned in Pycharm?

Tags:

I accidentally added some unversioned files to local changelist and now want to move them back to unversioned changelist.

I can do it hard way - delete file.
Is there a soft way? :)
Thaks

like image 790
Petra Avatar asked Apr 19 '17 09:04

Petra


1 Answers

On the git command line, you would run the following if you have not committed.

git reset File_To_Unstage

It looks like PyCharm has a menu option for this.

Both of these options will remove the file from the staging area without removing it from the working directory.

like image 61
merlin2011 Avatar answered Sep 25 '22 10:09

merlin2011