0

Steps followed:

  • Git is installed in /usr/bin/git, and
  • I've changed the git.path variable to "/usr/bin/git"

However: Visual Studio Code still can't find Git and activate source control.

I'm running OpenSuse Leap, fully up to date as of today 29/12/18.

1
  • What are the steps you have followed ? Commented Dec 29, 2018 at 22:30

2 Answers 2

2

The git.path setting should be:

/usr/bin/git

Not /usr/bin.git

Make sure /usr/bin/git is an executable file (not a folder)

Sign up to request clarification or add additional context in comments.

2 Comments

Sorry, just made an edit, I mistyped that in the summary - I meant /usr/bin/git
I understand. Still, the rest of the answer applies.
2

Sorted it. It was working as expected, just needed to initialise a repository in a project folder to get VS Code to recognise source control was working.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.