Category "git"

GITLAB - Fatal: Could not read from remote repository

First of all, thank you so much for your attention on this important issue that I'm dealing right now... See the image below then keep reading the text: So, I b

Download a specific folder from on-prem GitLab

I have an on-prem GitLab with a huge repository with many folders. I'm trying to create a freestyle Jenkins job that would only retrieve the folder from the rep

How to delete all commits from private repository in github?

I want to add gitignore with 2 files( node_module,another one) in a private repository which is given by github classroom. But I already git pushed for several

I cloned a repo using ssh, yet when im trying to push now im getting as public key denied warning

I tried ssh -T [email protected] and was successfully authenticated. this is the error I get when trying to push. [email protected]: Permission denied (publickey). fa

Using Nuke build to push a tag to an Azure Devops repository

I'm trying to figure out how to push a tag after a successful build back to the azure devops git repository. Whether I'm just asking the wrong questions or goi

Command executed via pexpect not taking effect

I am trying to cherry-pick gerrit reviews using a python script. I already have the string required to cherry-pick a review. I have used pexpect to automate the

Using GitHub with Multiple Accounts on the 1 Machine

I am having trouble getting multiple GitHub accounts working on the 1 machine (Windows 11). Here's the scenario. My work has a Github account. Let's call it jon

Push Submodules in source control Panel

I have a local repository with n number of submodules in it. sometimes i work on these sub-modules and make changes to it.when i wanted to commit and push these

git gc: error: Could not read 0000000000000000000000000000000000000000

git gc error: Could not read 0000000000000000000000000000000000000000 Enumerating objects: 147323, done. Counting objects: 100% (147323/147323), done. Delta com

remove all git tags cross-platform

I'm trying to remove all local and remote git tags I found several methods to accomplish this, but none of them works natively for cross-platforms for example:

Is it possible to name different batches of staged files in git?

For example, I have changes to a few files in my branch. I then stage them using git add. Then I have other additional changes. I stage them again using git add

How can I use my utility classes in different git-projects at once?

I'm a beginning programmer and I apologize if my questions is trivial but I haven't found a sufficient answer to my problem. I have a git repository called "too

What is/was the default git divergent merge strategy?

I recently started using a new machine and noticed and noticed this error hint when attempting to push to a branch after I resolved something online earlier on

How to remove a master branch repo from source control

top left of vscode Sorry kind of new to using git. As shown in the picture, I am trying to get rid of/remove the source control repo. Took a look around and cou

Is it possible to integrate Git into iOS app?

I can't really find anything online so decided to ask here. Is there a way to have a fully running Git binary inside of the iOS app? To, basically, have same as

Permission Denied for wrong user when I use "git push" [duplicate]

I was using git with my username and email and everything was working well. For one specific project I used different username and email to pu

What steps the collaborators need to perform locally after git lfs migrate is performed?

I am planning to migrate my repo with git lfs migrate which changes the git history and git commit SHAs. I need to remove some large files from history. I am wo

Overwrote master with another branch completely when trying to merge, how to revert it?

I wanted to merge two branches into one, however instead I overwrote it. On github desktop I went toolbar branch -> "Merge into current branch" on master, ch

Migrate Gitlab repo to TFS (Azure DevOps) include history and branches

I've been searching the entire day and haven't found any answer yet. I found how to migrate from TFS to Gitlab. I wonder if there is any easy way to do the oppo

How to debug git difftool command ( WinMerge , git on windows)

I have spend some time to configure git (git version 2.35.3.windows.1) to use WinMerge (2.16.20) as a external difftool. This post was my entry point and this G