Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global gitignore file not processed #49239

Closed
rkimballn1 opened this issue May 4, 2018 · 3 comments
Closed

Global gitignore file not processed #49239

rkimballn1 opened this issue May 4, 2018 · 3 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@rkimballn1
Copy link

Issue Type: Bug

This is a problem developing in WSL but probably exists elsewhere.
Using WSL Ubuntu:

  1. create a global gitignore file following these instructions https://help.github.com/articles/ignoring-files/
  2. Add a file to your repo, anything will do. Call it test.abc for example. If you do a git status command then this file you just added should show up as untracked.
  3. Add this new untracked file to your .gitignore_global file. Now git status should not show the file. This verifies that you have successfully configured your .gitignore_global file.
  4. Open your project in VSC and go to the source control panel. The file which is excluded in your .gitignore_global file will show up as untracked in this panel.

Because the .gitignore_global file is ignored by VSC I have over 3,000 untracked files in my source control panel.

VS Code version: Code 1.23.0 (7c7da59, 2018-05-03T16:44:55.614Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 31.93GB (16.90GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (11)
Extension Author (truncated) Version
code-gnu-global aus 0.2.2
multiline-find-and-replace axl 0.0.1
Doxygen bbe 1.0.0
githistory don 0.4.0
vscode-clang mit 0.2.2
python ms- 2018.4.0
cpptools ms- 0.16.1
gitconfig sid 1.0.1
cmake twx 0.0.17
cmake-tools vec 0.11.1
clang-format xav 1.6.1
@vscodebot vscodebot bot added the new release label May 4, 2018
@joaomoreno joaomoreno added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label May 7, 2018
@vscodebot
Copy link

vscodebot bot commented May 7, 2018

Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed May 7, 2018
@rkimballn1
Copy link
Author

rkimballn1 commented May 7, 2018

Not sure why this was closed. The suggested stackoverflow answer is not related to my issue. My issue has to do with the GLOBAL gitignore file, not the .gitignore file. There is more than one gitignore file.
This is a bug, not a question.
Git is working correctly. This is not a problem with git. VS Code is not working correctly.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants