microsoft / microsoft/vscode-remote-release

Include global .gitignore (core::excludesfile) with .gitconfig

Open
#4,481 5 comments 24 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Feb 18, 2021.

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

Description

Within my host machine's $HOME directory are the files .gitconfig and .gitignore.

In the $HOME/.gitconfig file, within the [core] section is the line: excludesfile = ~/.gitignore.

The extension does correctly copy the $HOME/.gitconfig file into the container when it is built.

I would like to request that this global ignore file be included in the container as well. That is, if [core] excludesfile is set, and that file resolves to a valid file on the host machine, it should be copied into the container along with the .gitconfig file.

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.