Git is an open-source distributed version control system (DVCS). Use this tag for questions related to Git usage and workflows. Do not use this tag for general programming questions that happen to involve a Git repository.
I have cloned a remote Git repository to my laptop, then I wanted to add a tag so I ran git tag mytag master
I was writing a simple script in the school computer, and committing the changes to Git (in a repo that was in
My colleague and I are working on the same repository. We've branched it into two branches, each technica
I usually submit a list of commits for review. If I have the following commits: HEAD Commit3 Commit2 Comm
I have an already initialized Git repository that I added a .gitignore file to. How can I refresh the fil
Recently, I have been asked to cherry-pick a commit. So what does cherry-picking a commit in git mean? How d
During git rebase origin/development the following error message is shown from Git: fatal: refusing to merge
I used git pull and had a merge conflict: unmerged: _widget.html.erb You are in the middle of a conflicted
I would prefer to write my commit messages in Vim, but it is opening them in Emacs. How do I configure Git to
Say I'm in a Git repository. I delete a file and commit that change. I continue working and make some mor
When I make changes to a file in Git, how can I commit only some of the changes? For example, how could I com
I am looking for a simple Git command that provides a nicely formatted list of all files that were part of the
I'm from a Subversion background and, when I had a branch, I knew what I was working on with "These worki
The command git add [--all|-A] appears to be identical to git add .. Is this correct? If not, how do they diff
I clone my repository with: git clone ssh://xxxxx/xx.git But after I change some files and add and commit
My initial commit contained some log files. I've added *log to my .gitignore, and now I want to remove th
How can I stash only one of multiple changed files on my branch?
How can I view the change history of an individual file in Git, complete details with what has changed? I have
I created a local branch which I want to 'push' upstream. There is a similar question here on Stack