Khi nào tôi thực hiện trạng thái git, tệp netbeans private.xml đang gây ra sự cố, tôi đã thử thêm vào đó trong git bỏ qua một số cách. nhưng gitignore chỉ đơn giản là không bỏ qua nó.Git bỏ qua không bỏ qua các tệp riêng tư trên netbeans
git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .gitignore
modified: nbproject/private/private.xml
...
git tôi bỏ qua tập tin là
node_modules/
dist/
*.log
nbproject/private/*
*.bak
*.orig
*~
*.log
*private.xml
Cố gắng cả nbproject/private/* và * private.xml trong cùng một tập tin.