Category "git"

"Illegal characters in path" while cloning with git from Visual Studio 2017

On Visual Studio 2017, I can not clone a repository with git. I'm having this error message: The repository url is good and the destination folder is also fi

What is the point of 'git submodule init'?

Background To populate a repository's submodules, one typically invokes: git submodule init git submodule update In this usage, git submodule init seems to

How to deploy to Heroku if my client and servers are in separate folders?

I have a repo with 2 folders - 1 for the server, 1 for the client, and each folder has its own package.json file. I am trying to deploy the server to Heroku, bu

How to show full-file git blame in vs code

At one point I found a way to show line-by-line git blame within vscode. I now cannot recall or find the means with which to do that. I have the Git Blame exten

cherry pick multiple commits as one without going through each one git apply patch

I have branch A with a few commits I need to cherry-pick into branch B. In the first cherry-picks I've added code that I've later removed in the last commits. W

How can I solve "fatal: ambiguous argument 'HEAD~1': unknown revision or path not in the working tree"?

I have only one commit on master and haven't merged it into the remote. I want to remove my commit, keep my changed files, change my branch, and commit them. No

How to disable git for some project and other project not disable git in Visual Studio Code?

some project i don't want use git monitoring , but in other project i want to keep use git monitoring , i use setting "git.enabled": false, "git.path": null, "

NPM install package from private repository using access token from environment

I want to install an npm package from a private repository from a specific branch. I know it's possible if you explicitly specify the token in the package path,

no tab completion when using git checkout alias

I'm using this answer on "how to disable git checkout auto-complete" (specifaclly, using the --no-guess part, as the export didn't seem to work.) I have a .git

no tab completion when using git checkout alias

I'm using this answer on "how to disable git checkout auto-complete" (specifaclly, using the --no-guess part, as the export didn't seem to work.) I have a .git

Git | Jenkins | Permission denied (publickey)

We have a common LDAP account/user. We plan to use this user to configure Jenkins for our team. I logged in to the machine/VM using my login and installed Jenk

git-svn clone: unable to connect to a repository

Environment information ~$ git --version git version 2.11.0 ~$ git svn --version git-svn version 2.11.0 (svn 1.9.5) ~$ svn --version svn, version 1.9.5 (r17706

Azure devops - server-side git hooks

How can we implement server-side hooks, or any similar solution, to restrict git push into git server? For example, we want to disable push of commits containi

CURL GET Raw File from BitBucket Repository with security

I am trying to get a raw file from a Bitbucket repository using curl with the following commands (I have tried many but I am including the last two): curl -L

TF401019: The Git repository with name or identifier public does not exist or you do not have permissions for the operation you are attempting

I have two ADO repositories named private2 and public2. private2 references public2 as a submodule: I also added a yaml file (vsts-cicd.yml) for build as follo

Can't commit to github remote via ssh after installing zsh

I had SSH key paired with my Win10 machine and Github account, and it's was working on Bash, but today I installed ZSH (oh-my-zsh) via WSL, and now when I'm try

Vscode source control doesn't recognize my repo

I have a local repo which was linked to a old remote repo. I made a new repo on GitHub and ran this in the folder git remote set-url origin <new repo url>

error: Terminal is dumb, but EDITOR unset - BitBucket Pipeline

I'm using BitBucket Pipelines for the first time to SSH into a development server and perform a git pull origin branch whenever a push is made to the said branc

JGit - Unable to Delete .git Directory After Cloning

I'm using the following snippet to clone a single branch of a git repository to the local filesystem using JGit: public void cloneSource(Path dir) throws IOExce

cloning a bitbucket project in AndroidStudio

I try to clone a project from Bitbucket into Android Studio. The project was originally published from Eclipse. But I get the error: Clone failed. Failed