私の中にあるファイルに加えた変更は.gitignore
、git によって追跡されています。
ファイル構造:
.gitignore
wp-config.php
の内容.gitignore
:
wp-config.php
を変更wp-config.php
して実行すると、変更git status
されていることがわかります。
alex$ git status
# On branch 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: wp-config.php
#
このファイルの追跡を停止するにはどうすればよいですか? .gitignore
入れるだけで十分だと思いました。