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
- Bountied 2
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
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. ... git
github repository git-commit
Tom743
- 1
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. ... git merge jupyter-notebook
Nick Koprowicz
- 131
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 ... git rebase
Chris
- 537
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 ... git
Zein Mayhoub
- 11
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 ... git
github gitlab ssh-keys
Demetre Dzmanashvili
- 141
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 ... git git-branch
An Nguyen
- 19
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 ... git visual-studio-2019
Be05x5
- 101
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 ... git gitkraken
Jérôme Tremblay
- 183
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, ... git
github
I'll-Be-Back
- 9,863
"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 ... git push git-detached-head
Simoyd
- 511
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. ... git gitlab gitlab-ci gitlab-pipelines gitlab-runner
SD.
- 1,354
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,... git visual-studio-code logging colors ansi
Idan Goor
- 51
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 ... git ssh gitlab
Olivia22
- 53
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 ... git azure-devops diff git-diff azure-repos
Robin_
- 21
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 -... xcode git
github terminal gitlab
user19352162
- 1
153050per page