4
4

More than 5 years have passed since last update.

gitで現在の未追跡ファイルを無視リストに追加する

Last updated at Posted at 2014-04-14

git status --porcelain --ignored | grep -E '^(\?\?|!!)' | cut -c4- | cat >.gitignore

元ネタ: http://stackoverflow.com/questions/11542687/git-how-to-ignore-all-present-untracked-files

4
4
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
4
4