How to add to ignore list already commited gen and bin folder using TortoiseGit?
For untracking + ignoring files, you do:
$ git rm -r --cached gen/ bin/
$ echo "gen/" >> .gitignore
$ echo "bin/" >> .gitignore
git rm --cached
removes the file from the index, without changing the file in the working copy. So now git doesn't track it, but you still have it in your local folder.
resolved myself:
add folders to .gitignore
delete these folders
commit , push
and it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With