0

All files is untracked ,i try add password.txt file to .gitignore but it doesn't work,i already have try other files in untracked list too.

See Picture:

screenshot

Like you see,after add password.txt file to .gitignore ,but in untracked list,it still there! Someone know how to solve this please !!!!

Ôrel
  • 7,044
  • 3
  • 27
  • 46
DaiKFD
  • 1
  • 1
    Just commit your .gitignore file, Please think to share plain text not image https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question – Ôrel Feb 26 '22 at 09:09
  • `.gitignore` works even if not committed. – phd Feb 26 '22 at 13:46
  • I still don't know how to solve it bro,why is seem so hard ! – DaiKFD Feb 26 '22 at 13:54
  • Did you try check the .gitignore encode? See this example https://stackoverflow.com/questions/22924633/gitignore-is-not-ignoring-directories – Eduardo Silva Feb 26 '22 at 17:06
  • I have solved this by convert encoding to utf-8.Tks bro for help. – DaiKFD Feb 26 '22 at 18:46

0 Answers0