downloaded a file with Application.yml codes to a remote repository (Github).
How can I remove it from there and stop tracking changes on it?
Answer 1, Authority 100%
- Add file to
.gitignore
git rm --cached --gnore-unmatch application.yml
– delete the file only from the repository, and physically file will be saved on the diskGit Commit -am "Message"
Git Push Origin {Branch Name}
Answer 2, Authority 12%
Delete and make Commit and Push. And, yes, yes, not delete, and in .Gitignore it