LoginSignup
1
0

terraform/.tool-versions などを git で無視する

Posted at

【terraform/.tool-versions などを git で無視する】

.git/info/exclude に追記する

.gitignore に書く必要がなく、自分の環境だけで特定のファイルを無視することができる

$ vim .git/info/exclude
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

terraform/.tool-versions # 追加

git status をすると無視してくれていたので完了

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0