Top "Version-control" questions

Version control is the management of changes to documents, programs, and other information stored as computer files.

How to convert a normal Git repository to a bare one?

How can I convert a 'normal' Git repository to a bare one? The main difference seems to be: in the …

git version-control git-clone git-bare git-non-bare-repository
Git command to display HEAD commit id?

What command can I use to print out the commit id of HEAD? This is what I'm doing by hand: $ …

git version-control
How to unstage large number of files without deleting the content

I accidentally added a lot of temporary files using git add -A I managed to unstage the files using the …

git version-control
Delete all local git branches

I follow a development process where I create a new local branch for every new feature or story card. When …

git bash ubuntu version-control grep
What's the difference between git reset --mixed, --soft, and --hard?

I'm looking to split a commit up and not sure which reset option to use. I was looking at the …

git version-control
How is a tag different from a branch in Git? Which should I use, here?

I am having some difficulty understanding how to use tags versus branches in git. I just moved the current version …

git version-control branch git-branch git-tag
Can I automatically increment the file build version when using Visual Studio?

I was just wondering how I could automatically increment the build (and version?) of my files using Visual Studio (2005). If …

c# asp.net visual-studio version-control assemblyinfo
Git diff between current branch and master but not including unmerged master commits

I want a diff of all changes in a branch that is not merged to master yet. I tried: git …

git version-control merge diff git-diff
git push to specific branch

Even after reading this question: git-push-current-branch, I am still having difficulty figuring out how I should write my git push …

git version-control push
Git: How to rebase to a specific commit?

I'd like to rebase to a specific commit, not to a HEAD of the other branch: A --- B --- …

git version-control rebase git-rebase