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

my git config is not at ~/.gitconfig but at ~/.config/git/config #1811

Closed
codekitchen opened this issue Nov 8, 2019 · 1 comment
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers verified Verification succeeded
Milestone

Comments

@codekitchen
Copy link

  • VSCode Version: 1.40.0
  • Local OS Version: MacOS 10.15.1 Catalina
  • Remote OS Version: Docker Desktop 2.1.0.4
  • Remote Extension/Connection Type: Docker

Steps to Reproduce:

  1. Open any devcontainer
  2. git config -l will not show your local user git config, and /root/.gitconfig does not exist
  3. Or do a git commit and see that your username/email are not configured

Basically, my user's git configuration on MacOS is stored at $HOME/.config/git/config rather than at $HOME/.gitconfig, and it seems like the remote containers extension is not finding the config at that location. I'm using MacOS built-in git version 2.21.0 (Apple Git-122.2).

@chrmarti chrmarti self-assigned this Nov 8, 2019
@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers labels Nov 8, 2019
@chrmarti chrmarti added this to the Backlog milestone Nov 8, 2019
@chrmarti
Copy link
Contributor

@chrmarti chrmarti modified the milestones: Backlog, October 2020 Oct 26, 2020
@rzhao271 rzhao271 added the verified Verification succeeded label Oct 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants