Microsoft/vscode
Git - "Add to gitignore" should add to closest gitignore file, not root one.
オープン
#157,839 opened on 2022/08/10
feature-requestgithelp wantedteam-low-hanging
Repository metrics
- Stars
- (184,936 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
The "Add to gitignore" command on the Source Control panel adds the file/folder to the root .gitignore file in the repository, regardless of whether there is a closer .gitignore file present in the directory or a parent.
I think there should be the option to choose the closest .gitignore file in the file hierarchy, or add all to the root gitignore file.