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

Support WSL git #29812

Closed
jeasonstudio opened this issue Jun 29, 2017 · 7 comments
Closed

Support WSL git #29812

jeasonstudio opened this issue Jun 29, 2017 · 7 comments
Labels
feature-request Request for new features or functionality git GIT issues WSL Issue when using WSL
Milestone

Comments

@jeasonstudio
Copy link

I have installed git in wsl and how can I deploy it to my vscode

@vscodebot vscodebot bot added the git GIT issues label Jun 29, 2017
@joaomoreno joaomoreno changed the title Using WSL for development and git does not work Support WSL git Jun 29, 2017
@joaomoreno joaomoreno added the feature-request Request for new features or functionality label Jun 29, 2017
@joaomoreno joaomoreno removed their assignment Jun 29, 2017
@joaomoreno joaomoreno added this to the Backlog milestone Jun 29, 2017
@ztolley
Copy link

ztolley commented Jun 30, 2017

To add to this. I'd like to be able to tell Visual Studio Code to not only allow you to tell the terminal to use WSL Bash but also configure it specify the path to the git client to use, or the shell, so that git commands issued use the WSL copy (so it picks up the ssh keys etc in that shell) and also run any git hooks in the bash shell too.

@nguyenbathanh
Copy link

This should be great.

@crewone
Copy link

crewone commented Aug 31, 2017

This would be great.

To illustrate the difference: git on windows does not properly handle symlinks (They seem to be invisible to NTFS in 'windows mode'), but WSL git properly handles these symlinks.

@zmsy
Copy link

zmsy commented Sep 15, 2017

Very confusing for windows users to have two separate git client installs, two sets of ssh keys for the same service, etc depending on whether or not they're using wsl bash.

Would be excellent if setting the terminal as wsl bash automatically defaulted to using wsl git as well.

@FistMeNaruto
Copy link

Facing the same issue

@wasabigeek
Copy link

wasabigeek commented Oct 13, 2017

@zmsy I'm moving off topic, but shouldn't you be able to use a single set of SSH keys? When you do keygen, save them in /mnt/c/Users/USERNAME/.ssh - then you can add that same path when you use ssh-agent.

Correct me if wrong!

@joaomoreno
Copy link
Member

Duplicate of #9502

@joaomoreno joaomoreno marked this as a duplicate of #9502 Nov 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality git GIT issues WSL Issue when using WSL
Projects
None yet
Development

No branches or pull requests

9 participants