Category "git"

How do I rerun the editor after the git commit-msg hook?

I have a git commit-msg hook that looks like this: #!/bin/bash COMMIT_MESSAGE_FILE="$1" COMMIT_MESSAGE=$(cat "$COMMIT_MESSAGE_FILE") if echo $COMMIT_MESSAGE |

Weird resource leak related to gulpfile or git or cmd prompt

I have a gulpfile in a project directory. I use gulp frequently and this file is similar to my different gulpfile's that I've used many times before. I first be

Emacs magit command that shows names of modified files in a branch

While on a branch, I'm looking to run effectively this command: git diff --name-only master... using magit. What is the appropriate keystroke to see the name

Error Broken Pipe by Pushing Git Gogs in Eclipse

When I try to push my code from eclipse 4.22.0 to local git server, come error messege Can't connect to any repository: http://192.168.0.100:3000/root/ABC (http

Accidentally override local branch by origin with pycharm

I have some branch name X I was working on. I committed my work locally (didn't push). Then I noticed a bug and tried to compare my results to the ones in the r

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