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.
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
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
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
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
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
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
My project struture ProjectA -FrameworkA (submodule) --Twig (submodule of FrameworkA) How I can update submodules recursively? I already tried some git comma
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
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
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
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
Is there a git command that returns file encoding like file in Linux? That completely describes my problem. I tried searching Google but found nothing.
We are two students working on our online repository (different repo) that is forked from a common upstream repo. Let's say other student made Changes, Commit
I want to make a git bare repository with multiple branches (master, develop, release, etc..). So question is if it is possible to checkout the bare repository
In PHPStorm's Git interface it's easy to stage files and folders, with the "+Add" option in the "Git >" submenu of the right click context menu. But, how do
My default git folder is C:\Users\username\.git. What command should I use to go into C:/project?
If you see the accepted answer in: Aggregating and uglifying JavaScript in a Git pre-commit hook, you'll see that I had to do a chmod +x on my pre-commit hook t
There are lots of similar questions to this (e.g. this one or this one) but the accepted answers do not seem to answer my exact question. Branch1 is not merged
I am having a really weird issue with git bash on windows. When I am working in Visual Studio I have no problem working with my git repo stored in a tfs server