0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

.vscodeのlauch.jsonをgit監視下から外す

Posted at

開発から離れると毎度忘れるので備忘録。

ワークスペース内でデバック設定するとできる.vscode/launch.jsonをgit監視下から外したい。
.gitignoreに書くとこれをコミットするしないでめんどくさいので
(他の人はデバック設定していなかったりvscodeじゃなかったりする)
他の方法の実行。

ワークスペース配下の隠しフォルダの
.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]
# *~
.vscode
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?