microsoft / microsoft/vscode-remote-release

include.path inside gitconfig Not Working

Open
#3,331 4 comments 16 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Jul 8, 2020.

containers feature-request
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.