git Questions
3
Solved
git push -u origin main
error: RPC failed; HTTP 400 curl 22 The requested URL returned error:
400
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unex...
Kilmarx asked 14/1 at 18:48
4
Solved
My use involves finding a diff between Merge Request and Master or Release branch (whichever branch I want to diff against) the MR will have CI_MERGE_REQUEST_TARGET_BRANCH set.
CHANGED_DIRS=$(git d...
5
I am trying to see if I can enforce a questionnaire in Bitbucket before reviewers approve a Pull-request. Sample questions that I would like to use are..
If the changes made are to a global repos...
Acropetal asked 17/7, 2016 at 14:22
8
I want to place the git repository in a folder directly above the classpath during the development stage of an application.
Currently, I have this as my Spring Cloud git URI:
spring.cloud.config....
Embank asked 14/12, 2018 at 21:48
2
When trying to deploy an app to heroku using git push heroku main
There was an error
>> git push heroku main
remote: ! Heroku does not support Git client version git/2.39.3 (Apple Git-146).
r...
5
Solved
My development repository at some point lost an object.
$ git fsck
fatal: failed to read object 2dddc84156fa30e4614a7ea5a1895885011b8db8: Invalid argument
$ git cat-file -t 2dddc84156fa30e4614a7ea...
Ashcan asked 1/12, 2011 at 20:24
3
Solved
Trying to import a private repo as package in golang. Did:
git config --global [email protected]:.insteadOf https://github.com/
So in theory all references to https are replaced by the ssh ...
2
I'm using VSCode and FNM (Fast Node Manager) instead of NVM. The issue seems to be that VSCode fails to see npx while committing from Source Control and throws out the following error:
> git -c ...
Nisan asked 14/2, 2022 at 6:15
3
Solved
I wanted to clone a sub directory https://github.com/CoreyMSchafer/code_snippets/tree/master/Django_Blog/12-Password-Reset/django_project
from the parent directory
https://github.com/CoreyMSchafe...
Lyle asked 4/5, 2020 at 7:27
6
$ git fsck --full
error: inflate: data stream error (incorrect header check)
error: unable to unpack 06c147f2771e280dfb4758c9a83b94346993d172 header
error: inflate: data stream error (incorrect h...
Agogue asked 14/6, 2017 at 12:21
2
Solved
I'm trying to follow this tutorial on how to add a commit msg hook with Husky.
And this is the command given in the tutorial:
npx husky add .husky/commit-msg 'npx commitlint --edit $1'
However whe...
2
I am trying to add depedency from git to poetry using SSH ( I am not interested in HTTPS version). The but I get an error whether I use poetry add...
poetry add git+ssh://[email protected]:myo...
Apocalyptic asked 30/1, 2022 at 11:26
4
For the last couple of days I have been unable to push to the remote (gitlab), it has worked before this. I know this question has 10s of similar SO questions and perhaps an answer is somewhere in ...
Nan asked 7/4, 2018 at 18:17
6
Solved
I want to send files from Jenkins to to my instance in Google Compute engine instance I added a build in my config in jenkins :
rsync -vrzhe "ssh -i /var/lib/jenkins/.ssh/google_compute_engine -o ...
Imprest asked 9/1, 2015 at 9:33
4
I want to merge integration branch into master, but I don't want to change anything only to look good.
Integration branch is that with gray. This branch contains a lot of changes, and I want to ma...
Christiachristian asked 6/12, 2017 at 8:53
8
Solved
I was able to commit fine yesterday. But today (I didn't change anything), when I commit:
$ git add config.h
$ git commit -m "Update config.h to reset the values"
error: Couldn't set refs/heads/ma...
Jade asked 12/6, 2015 at 17:43
2
When i commit changes via Github Desktop, pre-commit cannot handle the changes and commit them but overwrites all other stages changes (the once i didn't intent to commit now) by its improvements.
...
Floorwalker asked 2/7 at 7:3
4
Solved
I have a online repository hosted at Bitbucket but one of the developers has Internet connection problems and most of the time can't connect to the repository. In order to mantain the same code at ...
4
I'm using GitKraken (not sure if relevant) and as I'm trying to commit, I get this error message:
And as I press the button "View Hook Output" I get the following:
pre-commit
husky > npm run -s...
Foretopmast asked 14/5, 2018 at 14:36
8
i am new to git and i am doing a test repository to see how it goes.
First when i did git add i had a warning telling me that my file will be turned to clrf or something like that.
So i tried to ch...
Sibyl asked 31/3, 2021 at 16:1
11
Solved
Might be a duplicate question, but none of the available solutions seems to be working. Could be that Github changed Support for password since 13 Aug, 2021.
I have tried the following:
Checked th...
3
Solved
I use the command git log --all --decorate --graph --oneline very often and I want to create an git alias for --all --decorate --graph --oneline.
I tried with git config --global alias.adgo "--al...
Oscillograph asked 10/12, 2016 at 0:17
2
Solved
I have a certain filename and want to find the last (= most recent) commit that changed a file with that file name in Git.
Edit: The file has been deleted in the meantime, so it's not a part of the...
Maag asked 8/8 at 6:36
8
I have completed my project.
My stack :
Front-End UI => Reactjs
Back-End => Nodejs/Expressjs + MongoDB
And below is my project structure containing both the folders:
project_Name > client...
Charlet asked 24/12, 2020 at 11:27
5
Solved
I have newly installed Git for Windows on Windows 8.1. In Git Bash, when I run help commands like git help diff or git diff --help the corresponding .html help file will open in the program I have ...
Saltus asked 1/2, 2014 at 6:5
© 2022 - 2024 — McMap. All rights reserved.