Skip to content

[FR] Make source control able to detect git bare repositories #80946

Closed
@kiprasmel

Description

@kiprasmel

Hello,

TL;DR:

As far as I'm aware, vscode does not detect git bare repositories, and it'd be useful if it did.


I have a dotfiles setup as described in https://wiki.archlinux.org/index.php/Dotfiles#Tracking_dotfiles_directly_with_Git:

$ git init --bare ~/.dotfiles
$ alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
$ config config status.showUntrackedFiles no

Now, I often merge changes from upstream, and conflicts do come up.
I just like to handle merging with vscode, but so far I haven't been able to do this with my dotfile setup.

Is there something I'm missing, or is there a feature missing that would allow vscode to be aware of git bare repositories and / or git with --git-dir and --work-dir options?

Much thanks!

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions