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

include.path inside gitconfig Not Working #3331

Open
0916dhkim opened this issue Jul 8, 2020 · 2 comments
Open

include.path inside gitconfig Not Working #3331

0916dhkim opened this issue Jul 8, 2020 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers
Milestone

Comments

@0916dhkim
Copy link

  • VSCode Version: 1.46.1
  • Local OS Version: Windows 10 1909
  • Remote OS Version: Node.js 14 Image
  • Remote Extension/Connection Type: Docker

Steps to Reproduce:

Here's how my $HOME/.gitconfig looks like.

[include]
    path = gitconfig/all

And I organize my git config files inside gitconfig directory (which I keep in my GitHub repo).
Because Remote - Container extension only copies $HOME/.gitconfig and not include.path,
I cannot use my git credentials in my dev containers.

Suggestion:

Instead of copying $HOME/.gitconfig, run git config --list on host machine and save the result inside containers.

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

@github-actions github-actions bot added the containers Issue in vscode-remote containers label Jul 8, 2020
@chrmarti chrmarti added the bug Issue identified by VS Code Team member as probable bug label Jul 8, 2020
@chrmarti chrmarti self-assigned this Jul 8, 2020
@chrmarti chrmarti added feature-request Request for new features or functionality bug Issue identified by VS Code Team member as probable bug and removed bug Issue identified by VS Code Team member as probable bug feature-request Request for new features or functionality labels Nov 11, 2020
@BCNelson
Copy link

BCNelson commented Oct 6, 2021

Also resolving includeif with the current path of the workspace before copying.

@chrmarti chrmarti added this to the Backlog milestone Dec 13, 2023
@bhrutledge
Copy link

See also #2084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

4 participants