Category "git"

Exception of type 'Microsoft.TeamFoundation.Git.Contracts.GitCheckoutConflictException' was thrown

While trying to checkout to a new branch in Visual Studio 2019, I'm getting the below error: I tried to do the same from GitBash cmd using the command git chec

error: RPC failed; curl 18 transfer closed with outstanding read data remaining when pushing my android project to github

I am having a problem trying to push my code to github. This is the error that I am facing I have tried few solutions that I have found but they all seem not to

unable to push git tags in gitlab ci pipeline

In my gitlab ci pipeline, I want to push a tag wherever pipeline run for the master branch. But the issue is that I am unable to push the tag on the repository.

I want to use Git via macports instead of Apple Git

I'd like to use the latest version Git via macports instead of Apple Git. But when I type git --version on terminal app, it displays Apple Git version. Could y

How to access commit message with Husky pre-commit hook?

My husky script: "husky": { "hooks": { "pre-commit": "sh ./tools/githooks/pre-commit.sh" } } Let's say I am doing a git commit -m "I want t

Xcode Source Control - Push local changes stuck on Loading

I keep getting this problem with Xcode source control. If I checkout a previous branch and then switch back to my latest branch, sometimes I can no longer push

VS 2017 Git Local Commit DB.lock error on every commit

We are getting this error on every local commit: Git failed with a fatal error.error: open(".vs/XXXXXX.Dev.Library/v15/Server/sqlite3/db.lock"): Permissio

How Do I set a Teamcity Trigger on a Particular Folder for Git VCS trigger

I would like Teamcity to Trigger a build when there is a gerrit change on a specific branch on a specific folder. I'm unable to achieve the same, any suggestion

How to force Git (2.5+) HTTP transport prefer SPNEGO over Basic authentication?

Summary: I am using Git for Windows 2.5.1 to authenticate with a Kerbesized Git server. When I am using the URL in the form https://el2-gitlab.sa.c/kkm/GrammarT

Reverting to a specific commit without losing history

I know this type of a question has a lot duplicates, but I wanted to open a new one because I didn't found in all of the other questions the explaination of the

merge feature branch to main error: You are attempting to modify a pull request based on out-of-date information

Please assist me. I want to merge my feature branch to develop branch after my pull request was approved. I then used PowerShell to run and ran the merge comman

cannot pull Git remote repository from Sourcetree

I Generated ssh keys and configured my git and SourceTree. I could git pull and do other operations from Git-bash. Note: I have added the following in .bashrc

How to make setuptools clone git dependencies recursively?

I want to let setuptools install Phoenix in my project and thus added setup( ... dependency_links = [ "git+https://github.com/wxWidgets/Phoenix

GitHub: repository not pushing the folder created with create-react-app

I want to initialise a repository with the following folder structure. main-folder |-- project_backend |-- project-frontend Just for reference, the backend

pycharm cannot find interpreter when cloning github of the same project between 2 computers

I coded on my labtop, push code to github. then clone it to my computer for the first time. ( environment are different of course) I did all my work on my comp

How to get access to the files stored on another repository in code

I want to get the access (read) files with text which located on another repository. Is it possible to do at all? We faced the problem of preserving the histor

Git tag name in Azure Devops Pipeline YAML

Summary How do I get the name of the current git tag in an Azure Devops Pipeline YAML-file? What Am I Trying to Do? I am setting up a build pipeline in Azure

In git, obtain commits using git log with path

I would like to obtain the last 10 commits using git log specifying the path of my repository. I used the option -path but I have "is outside repository" error

Why does HEAD in my worktree point to the top commit in master?

I created a worktree using git worktree add and it was working as expected for a few days. Today, I wanted to check out some code at the previous revision, so I

How do I set up my terminal on Mac to auto open Sublime Text Editor when using git commit command?

I am trying to set up git on my terminal, and need it to open up Sublime text when I use a git commit command, so that I can add a note to my commits. If I type