Answer the question
In order to leave comments, you need to log in
How to ignore already deleted files?
There was such an interesting situation with the git
, I just can’t figure out how to fix it.
I’m working with the repository,
then suddenly I decided to clean the folder with pictures, there were gigabytes of slag that I don’t need on the local,
but it was present in the remote branch
, I was a fool, took and deleted these pictures , I forgot to add this folder to the gitignor before that,
then I added the folder to the gitignor
did
git reset
git rm -r --cached livezilla
he still wants to add this matter to the commit, that is, when uploading to the remote, he will delete all the files there, what with to do this - I won’t put my mind into it I
’m not strong yet, I’m just learning,
please tell me how to be
Answer the question
In order to leave comments, you need to log in
https://ru.stackoverflow.com/questions/448215/How-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question