Category "git"

How to change the Tagger name and email of a Git Tag

Long story short I'm writing a script to migrate a very large project from (gasp) Microsoft SourceSafe to Git and I'm trying to retain the authors of the Source

git push is very slow for a branch

We have a git repo that is quite large (ios app resources). I appreciate that git is going to be slow when working with it, but if I create a new branch and edi

neovim/nvim tree doesn't open current directory only the parent directory with git

If I have a parent directory that has git and a bunch of sub directories and I cd into one of the sub directories and launch neovim, neovim/nvim tree would sho

gitignore doesn't ignore .suo Visual studio file

I want to do simple thing, ignore .suo file and bin and obj folders from committing to git repo. I've created .gitignore file and it's working for bin and obj f

git - how to get default branch?

My team alternates between usage of dev and master as default branch for several repos and I would like to write a script that checks for the default branch whe

Cannot delete Git tags which have special characters

$ git tag +"feature/04-28_v001-11"+ +"feature/04-28_v001-19"+ Above git tags not able to delete since + and " exist in the tags.

How to stop merging in git?

I had a three-way-merge branch merge: git checkout master git merge BranchA >> Fast-forward merge git merge BranchB >> Three-way-merge (prompts

How do you reset the stored credentials in 'git credential-osxkeychain'?

I've followed the GitHub instructions for setting up my account, and I'm able to clone, but I'm unable to push remotely. When I do a "git push" I get the 403 e

What exactly is a "grafted" commit in a shallow clone?

When doing a shallow clone in git (using the --depth option), the root commit is marked as grafted. Googling didn't lead to any satisfacting documentation.

GitHub "fatal: remote origin already exists"

I am trying to follow along Michael Hartl's Rails tutorial but I've run across an error. I signed up on Github and issued a new SSH key and made a new reposit

Can Git show history for selected lines?

I have a large file where, somewhere in the middle, there is a function that I know has been modified several times. git annotate or blame will show the most re

View rendered output of a gist?

I'm sure I'm being dim, but is it possible to view the rendered output of a gist? This is the gist I'm interested in: https://gist.github.com/844752/420cc52eb4

How to prevent Git from commiting Jupyter Notebook results?

I m working on project in Jupyter Notebook. Whenever I make a commit not only changed code and markdown columns get commited but also results from code columns

How to upload a modified angular2 module to server in production?

I am using angular2-image-gallery. It is causing me an error on production (also locally) about importing twice BrosweModule from angular. In my local build, I

How to prevent Jenkins SCM polling from triggering a build on branch creation

I have git SCM polling set up in my Jenkins server job. I run the following commands on my local machine and they trigger a Jenkins build: git checkout dev git

Git update submodules recursively

My project struture ProjectA -FrameworkA (submodule) --Twig (submodule of FrameworkA) How I can update submodules recursively? I already tried some git comma

What are those 'WIP' and 'index' commits that appear after stashing?

When I run git lg on my local development branch, the latest commit is shown as below: * 7d21213 - (1 hours ago) update business rules - developer1 (HEAD, orig

Git Submodule - Permission Denied

I am not able to clone the submodule existing within my private git repository. I do have access to entire repository, Have used the below commands but dint w

Is there any way to make a draft pull request using git bash?

I want to make a draft pull request but when I execute the command git push --set-upstream origin new-branch I could only see normal pull request button at my r

Changing Remote Branch To Push To In Netbeans

I'm using netbeans 7.1 and I want to change remote branch to push to. I cannot find a way to do that. If I do a pull, I can see the branches (dev and master). B