Category "git"

I cannot add the parent directory to *safe.directory* in Git

After updating Git to v2.35.2.windows.1 I'm getting the following error: fatal: unsafe repository ('F:/GitHub/my-project' is owned by someone else) To add an

fatal: unable to access ".....": gnutls_handshake() failed: Handshake failed

I've been using Git for the past few months. Recently when I try to clone or to push, I keep on getting this error. I've researched on the internet but so far n

Master branch disappeared from my local code

I have a repo that I cloned a long ago and I use the master that I push to create my branches to then merge with master. I opened visual studio and now I don't

Git: How do I checkout a commit and merge it back into my branch?

I've made a series of commits in my branch. However, the last 3 or so were mistakes - I want to 'revert' my branch to a previous commit. Googling the issue I u

Why is the Approve button disabled in GitHub "pull request review"?

Problem Background: So far I am the sole owner of a GitHub repo. I committed the code from my system to a branch called release (actually its a tag based on de

destination path already exists and is not an empty directory

I cloned a git repository but accidentally messed up. So I re-cloned and the message showed up: destination path already exists and is not an empty director

Use Pull Request to merge EAP files (Enterprise Architect)

I have a request to use GitHub Pull Request in a git repo which is continuously developing in a single binary file (EAP model from Enterprise Architect) into a

How can I edit the .git / config file from the git terminal?

I am trying to modify the config file from the git terminal, for this, inside the repository, I have launched the command git global --edit. An editor opens wit

Updated Git on Mac & old version still showing

I've had Git on my Mac for a while (previously downloaded and installed it from the Git website some time ago). Today I decided I wanted to update Git - I ended

How to transfer GitHub classroom private repo to my GitHub repo?

I have an assignment project which was created by GitHub Classroom and is also private. So how to transfer my project to my personal account with all existing c

Git how to revert staged /unstaged modified file

In Git(2.16). Suppose, I modified a single file and did not stage yet I would like to revert the file back to original? Also, how can I accomplish this on a sta

gitlab runner Specific runner vs Shared runner vs Group runner

As a Sysadmin, I'm using gitlab as git server and some docker server as deploy servers. We have many projects on gitlab, Now I decide to use gitlab runner as a

RPC failed: curl 56 failure when receiving data from the peer

I have just created a small corporate repository on Azure ( 1 commit per each of 2 branches, totall about 200mb of repo), then I deleted local repository. When

Appropriate Method for making a bugfix to older version tags of a repo

The latest version of my project is tagged on github as 1.11.0. I need to fix a bug that affects versions 1.10.0 1.9.0 1.8.0 and 1.7.0 The master branch is tagg

Jenkins to Github integration with Deploy Key results in an access denied

I’m working to integrate Jenkins to a GitHub repo that I have to pull code, and run. I’ve add a GitHub repository URL to a Source Code Management s

does git pull atomically write files

I can't find anything in the documentation. If I do a git pull, am I guaranteed that the underlying file, resulting of the merge, is atomically written? Some m

is it possible to apply code format before git diff command

I was working on a old repo, I have config my editor to auto apply black and isort while save, but the repo code not. So while I try to diff, there will always

gitKraken throw "failed to retrieve list of ssh authentication methods error waiting on socket"

I use gitKraken and I get an error when I'm trying to pull from master. "failed to retrieve list of ssh authentication methods error waiting on socket" I tried

Unable to clone Git repo: Invalid file descriptor

I'm trying to clone a Git repository. At work we're making use of a proxy with authentication. The commands I execute to set up the proxy settings: git config -

"Failed to connect to github.com port 443: Connection timed out" when pushing to remote repository

I've 'googled' and 'stackoverflowed' so much but I haven't found a solution for my problem. I'm on Ubuntu and try for the first time git. I did: sudo apt-get