Top "Version-control" questions

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

How can I get a list of Git branches, ordered by most recent commit?

I want to get a list of all the branches in a Git repository with the "freshest" branches at the …

git version-control branch
How does Git handle symbolic links?

If I have a file or directory that is a symbolic link and I commit it to a Git repository, …

git version-control symlink
When do you use Git rebase instead of Git merge?

When is it recommended to use Git rebase vs. Git merge? Do I still need to merge after a successful …

git version-control git-merge git-rebase
Undo a particular commit in Git that's been pushed to remote repos

What is the simplest way to undo a particular commit that is: not in the head or HEAD Has been …

git version-control git-reset git-revert
Differences between git pull origin master & git pull origin/master

What is the difference between git pull origin master and git pull origin/master ?

git version-control
How can I stop .gitignore from appearing in the list of untracked files?

I just did a git init on the root of my new project. Then I created a .gitignore file. Now, …

git version-control dvcs gitignore
What is the meaning of git reset --hard origin/master?

I did a git pull and got an error: The following working tree files would be overwritten by merge... Please …

git version-control git-reset
Checkout one file from Subversion

"It is not possible to check out a single file. The finest level of checkouts you can do is at …

svn version-control
How do I do an initial push to a remote repository with Git?

I've read through countless tutorials and I keep coming up short. Here's what I've got: -- I'm running RubyMine on …

git version-control
How to list branches that contain a given commit?

How can I query git to find out which branches contain a given commit? gitk will usually list the branches, …

git version-control