Questions tagged [git]

Ask Question

Git is an open-source distributed version control system (DVCS). Use this tag for questions related to Git usage and workflows. DO NOT USE the [github] tag for Git-related issues simply because a repository happens to be hosted on GitHub. Also, do not use this tag for general programming questions that happen to involve a Git repository.

142,173 questions 2

0votes0answers5views

Remove old commit preserving changes

I started editing a project downloaded from a glitch repository I played around for a little bit. A lot of automatic commits were done before I downloaded the project and continued editing it locally. ... user avatar Tom743

  • 1
0votes0answers5views

Jupyter notebook validation error after merging in git with nbdime

I'm merging Jupyter notebooks in git using nbdime version 3.1.1, and I see this: I'm able to click 'OK' and complete the merge, but any time I open the notebook afterward, I still see this message. ... user avatar Nick Koprowicz

  • 131
0votes0answers19views

How to git rebase dev to local to faster forward but with out leaving commits in PR?

So I am working on a feature and the project I am working on has advanced I am expected to rebase to solve merge conflicts and keep my branch up to date until I am ready to merge. For example, create ... user avatar Chris

  • 537
1vote1answer27views

Pushing to git repository to GitHub doesn't work [duplicate]

I've made a SSH-Keygen in cmder and made repository in github to push the project to it, the files have been added correctly, and the commit worked too, but when I tried to push from origin to master ... user avatar Zein Mayhoub

  • 11
1vote1answer25views

SSH Key Managment for Multiple Git Accounts

I am trying to create Multiple SSH keys for multiple git accounts. For now, I have one Github account and two Gitlab accounts, I could not find the guide for Multiple accounts across multiple git ... user avatar Demetre Dzmanashvili

  • 141
0votes1answer14views

How to update Remote/Origin on another computer after branch renaming

I found a way to update my computer and Remote/Origin branch to match when I rename a branch. you can imagine renaming branch as: git checkout oldBranchName git branch -m renamedBranch git push ... user avatar An Nguyen

  • 19
0votes0answers15views

Visual Studio Detached Branch Rebase in Progress issue

I have seen a few of these posts around but all involve running git commands. So since I do not run git commands I apologize if this is simpler than I think. We are using Microsoft visual studio team ... user avatar Be05x5

  • 101
0votes0answers12views

Corrupted commit in the far futur

For an unknown reason, my git repository has a commit set into the far futur commit 1b792e2b9e1a1bfefe92f6802f6dbe9112f750b2 Author: Red Acted <> Date: Wed Mar 16 12:55:41 ... user avatar Jérôme Tremblay

  • 183
2votes1answer19views

Move archived repos to a repo?

We have hundreds of archived repos on github which is no longer in use. There is no option on Github to hide archived repos by default. Currently, it is not user-friendly to go through active repos, ... user avatar I'll-Be-Back

  • 9,863
0votes2answers29views

"head" equivalent in detached head state

Lets say I'm in a detached head state and I run the following command: git push origin head:something/something/blah git will output the following error: So my question is: What is the correct ... user avatar Simoyd

  • 511
0votes1answer14views

gitlab CI - pushing a tag fails

I am trying to push the tag in tagging stage of pipeline, I have a logic to form a tag and push it back to repo. Now to push the tag, I've created project access token and have below in my gitlab yml. ... user avatar SD.

  • 1,354
0votes0answers6views

How to fix ANSI colors encoding in VSCode Git Log?

I'm trying to run a pre-commit hook that runs lint-staged. When I commit my staged files using Windows PowerShell, I get the following result: But when I try to commit the files VScode Source Control,... user avatar Idan Goor

  • 51
0votes1answer20views

Git .gitconfig and ssh detail problems

I was having problems setting a sshkey for gitlab. It stopped working and it wouldnt work. Somehow its working now, I didnt modify anything I simply added got a new key and added it. Im trying to ... user avatar Olivia22

  • 53
0votes0answers7views

How to change GIT diff-config on Azure DevOps?

I can ignore GIT file renames on my local machine by adding following line to .git/config [diff] renames = false Is it possible to configure this on the Azure DevOps Repos ? We want to use the ... user avatar Robin_

  • 21
0votes0answers20views

git init // reset --hard deleted all my desktop files

I'm trying to learn git, I'm new. I got an error while performing a pull from xcode and it was said on the internet that the answer was git reset --hard. I also performed git init and "git reset -... user avatar user19352162

  • 1

153050per page

1 2 3 4 59479

You Might Also Like