git Questions

2

Solved

I performed multiple merge commits but they should have been merge --squash instead. The conflict resolution took more than a day so I can't afford to redo the merging by hand. Is there a way to c...
Stillage asked 14/11, 2016 at 11:25

2

Solved

I really like how the Github /branches page lists the branches and a column that indicates the number of commits ahead or behind master for a branch. Is there a way to see this information in the c...
Micronesian asked 20/11, 2020 at 22:28

2

Solved

I have created a pull request in AzureDevops Repos. Pull request is from "green_branch" into "master". I would like to change the target of this pull request from "master&q...
Electric asked 26/10, 2023 at 9:31

4

Solved

I've seen lots of posts/answers on how to display all of the local commits for all local branches that have not been commited. I have a narrow use case, and have not found an answer. I need to dete...
Humanitarianism asked 8/3, 2021 at 23:46

7

I'm trying to download a private repository release using the browser_download_url that I got from the github API, but the URL is giving me 404 Not Found, I set up the Authentication : token <my...
Impedimenta asked 9/3, 2021 at 17:32

2

I have a github action that is triggered when a release is created. The goal is to: Find the tag on which the release was based Find the previous tag on that branch So far, I have this: CURRENT_T...
Merthiolate asked 6/8, 2020 at 12:53

4

My Git status is showing all files deleted in my working tree which is incorrect, they are still there. To resolve it, I should execute git reset --hard which reset all my modifications to other ...
git
Freehearted asked 8/10, 2013 at 8:1

4

Solved

In VS code, I am signed in with a github account in which I have no longer my access. So I need to completely unlink the github account from vs code. How can I do that? I am using ubuntu.
Installment asked 15/12, 2020 at 17:31

7

Cloning a repository, pushing , fetching and pulling code with git from Azure Devops via VSCODE, GITExtensions, GIT BASH results in a 'fatal unable to access' & 'CONNECTION WAS RESET' ERROR aro...
Quartering asked 15/3, 2023 at 17:47

3

Solved

I've created a new orphan branch with git checkout --orphan orphan-branch and made a lot of commits on that branch. Now I want to replace the master branch with the newly created orphan-branch, a...
Slantwise asked 3/6, 2016 at 9:1

3

I've set the core.sshCommand option for a repo so that I could use a different ssh key when working with it (i.e. sshCommand = ssh -i /path/to/key). However, when I run git submodule update this op...
Charmainecharmane asked 26/8, 2019 at 11:32

2

I forgot to push my changes to a project I have been working on incrementally for months. This has resulted in an extremely large .git directory (~11 GB). The rest of the files in the repo combine ...
Joanajoane asked 26/5, 2020 at 0:14

3

I am looking at a GitHub release that contains over 200 .tgz files that I want to download. Is there any way to download them all in bulk within one line/script, as opposed to downloading them each...
Cockiness asked 4/4, 2021 at 22:38

5

Solved

I'm trying to clone a repository from my organization's GitHub using GitBash, but when I do a git clone, it hangs indefinitely. The output is as follows: git clone https://github.com/myorganization...
Acevedo asked 24/6, 2021 at 16:30

3

We have been happily using ArgoCD with public repositories for a while, but we've run into problems trying to connect ArgoCD to a private repository. We have an Application that looks like this: ap...
Sheaves asked 15/9, 2021 at 21:0

4

Solved

How can I dump a log of my commits showing only the ones with notes of a given namespace? Commits without notes, or notes not belonging to a given namespace should be filtered out In the text dump ...
Weidner asked 29/10, 2012 at 8:29

12

Solved

I have updated Mac OS from Sierra to Monterey recently. Since then I have been facing some issues. One of them is in VSCode, when I do changes to the files the changes are not reflected in Source C...
Cephalonia asked 19/2, 2022 at 1:48

2

Solved

I'm working on a project in VS code. I made changes, pulled from GitHub and got merge conflicts. I don't know what i did but my merge conflict screen now looks like this (it's highlighting the file...
Levi asked 14/4, 2023 at 20:25

2

Solved

I did fork a bower package on github since I need some enhancement and mantainers do not react to pull requests. I changed a bit bower.json (to change the name, the version and to add myself among ...
Amling asked 4/7, 2016 at 13:34

3

Solved

I'm new to git. So, I'm confused and might not be using the correct terminology. I have two separate Xcode projects, each with it's own local repository. Although the projects have similar names, ...
Mandarin asked 23/10, 2019 at 21:57

4

Solved

I always got the "argument list too long" error when I try to use "gitk" to open the GUI of the history for some large repo. Even using "gitk -n" didn't solve the problem. Does anybody here have sa...
git
Cicatrix asked 9/2, 2017 at 7:49

4

Solved

I have created a specific Gradle task that should only be called in the Jenkins build system. I need to make this task depend on another one which should tag the HEAD of the master branch after a s...
Marquise asked 28/7, 2013 at 16:44

4

This is what I am getting as output when I am trying to commit any file. I tried installing git again and watched some tutorials on youtube to get it started again but it didn't work. Still getting...
Funchal asked 2/11, 2020 at 17:5

3

I am using GitHub Desktop v2.5.7 and Git v2.29.1 on Windows 10 64 bit. My GitHub account has 2FA enabled. I can clone repositories from GitHub using the GitHub Desktop or command line I have gener...
Quadri asked 6/11, 2020 at 14:58

3

I was trying to push some local unversioned code into a repo and get it up onto GitHub for accessibility reasons. I followed the suggestions here cd <local_dir> git init git add . git commit ...
Ritaritardando asked 26/11, 2020 at 10:55

© 2022 - 2024 — McMap. All rights reserved.