Answer the question
In order to leave comments, you need to log in
How to remove a file from git and move it to .gitignore?
Accidentally committed and pushed a file with a secret. Now I added it to .gitignore
, but it's not clear how to remove it from the git itself and the remote repository?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question