Category "git"

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

git says I have unstaged changes but I can not see them

I am executing this command on the second file I want to remove (the first was JetBrains' .idea folder files which are now in .gitignore), but I am not able to:

Pulling updates from Git on running project

I have a laravel app deployed on an apache2 server in an ubuntu VM. It took an awful lot of time to set up, but I would like to make some more changes to the we

Git is not recognized in pycharm

I am trying to pull a github repository from bitbucket using pyCharm. I added the path to my git executable under version control / Git and installed the bitb

How to fix "ssh permission denied please try again error" in git configuration on Windows

I am trying to configure git server and client on two local windows machines. I installed git software on both the machines. Enabled openssh server optional fea

Lost git folder and repo information

I have a gitHub repo and I recently copied my local folders to a different machine/hard drive. This is a Windows 10 Pro laptop. I made some changes to the loca