0
votes

I am using PyCharm 2019.1.3 and have accidentally added a big number of files to version control / svn (amongst other files which I wanted to add) within the program, but I have not committed the changes yet.

Is there a way to undo the add to SVN (but to keep the local files of course)? Maybe via moving the files to a different location (so that they seem deleted) and then moving them back?

2
It seems the SVN revert option can be used before commit within PyCharm, which removes the files from versioning.bproxauf

2 Answers

0
votes

I know the basic version of undoing staged file. From Terminal

git checkout <file_name>
git reset <file_name>
0
votes

It seems the SVN revert option can be used before commit within PyCharm, which removes the files from versioning.