Now you can configure Visual Studio Code (version 0.10.2, check for older versions) to use existing git installation.
Just add the path to the git executable in your Visual Studio Code settings (File -> Preferences -> Settings) like this:
{
// Is git enabled
"git.enabled": true,
// Path to the git executable
"git.path": "C:\\path\\to\\git.exe"
// other settings
}
Related Contents:
- “fatal: Authentication failed for” when pushing to GitHub from Visual Studio Code (1.62.2)
- How to use Visual Studio Code as default editor for git?
- Visual Studio Code – Connect to a remote Git repository and PUSH local files to a new remote repository
- VSCode: enable or disable editor tabs modified since last git commit, show git status with modified tabs colors
- Visual Studio Code is always asking for Git credentials
- Why aren’t SCM diff decorations showing in the gutter in VS Code 1.76.1?
- How do I use Bash on Ubuntu on Windows (WSL) for my VS Code terminal?
- To use on Visual Studio Code, but show “Could not read from remote repository.”
- How to compare different branches in Visual Studio Code
- What are the U and M file markers in Visual Studio Code?
- How do you undo “Discard all changes” in VS Code/Git
- How do I add files in Git to the path of a former submodule?
- Is git’s semi-secret empty tree object reliable, and why is there not a symbolic name for it?
- How to grep (search) committed code in the Git history
- How to get just one file from another branch?
- Download a specific tag with Git
- Git Push Error: insufficient permission for adding an object to repository database
- How to tell git to ignore individual lines, i.e. gitignore for specific lines of code [duplicate]
- How to programmatically determine the current checked out Git branch [duplicate]
- How to convert a Git shallow clone to a full clone?
- How to iterate through all git branches using bash script
- How does origin/HEAD get set?
- How much of a git sha is *generally* considered necessary to uniquely identify a change in a given codebase?
- How do I programmatically determine if there are uncommitted changes?
- How to export revision history from mercurial or git to cvs?
- Git: How to remove file from historical commit?
- Git push to checkout?
- Rolling back local and remote git repository by 1 commit
- How to determine if Git handles a file as binary or as text?
- How to clone all repos at once from GitHub?
- Remove large .pack file created by git
- I change the capitalization of a directory and Git doesn’t seem to pick up on it
- What is a bare repository and why would I need one?
- How to remove a dangling commit from GitHub?
- How to use Git for Unity3D source control?
- Remove directory from remote repository after adding them to .gitignore
- Issue pushing new code in Github
- Why git keeps showing my changes when I switch branches (modified,added, deleted files) no matter if I run git add or not?
- Git Blame Commit Statistics
- Merge changes from remote github repository to your local repository
- How to fix committing to the wrong Git branch?
- How do I get bash completion to work with aliases?
- How to prevent Dockerfile caching git clone
- List Git aliases
- How to keep different content of one file in my local and github repository?
- How to apply a git patch from one repository to another?
- git rm – fatal: pathspec did not match any files
- Github API – create branch?
- Is it possible to set a git commit to have a timestamp prior to 1970?
- How to Prevent Garbage Collection in GIT?