Skip to main content
The 2024 Developer Survey results are live! See the results
CB Bailey's user avatar
CB Bailey's user avatar
CB Bailey's user avatar
CB Bailey
  • Member for 15 years, 10 months
  • Last seen more than 2 years ago
8989 votes
Accepted

How do I make Git forget about a file that was tracked, but is now in .gitignore?

6019 votes
Accepted

Undoing a git rebase

4876 votes
Accepted

Difference between "git add -A" and "git add ."

3781 votes
Accepted

Branch from a previous commit using Git

3535 votes
Accepted

How do I find and restore a deleted file in a Git repository?

3464 votes
Accepted

How to undo "git commit --amend" done instead of "git commit"

3177 votes
Accepted

How do I show the changes which have been staged?

2584 votes
Accepted

Do a "git export" (like "svn export")?

2149 votes
Accepted

Ignoring any 'bin' directory on a git project

2036 votes
Accepted

Global Git ignore

1967 votes
Accepted

In a Git repository, how to properly rename a directory?

1954 votes
Accepted

How to have 'git log' show filenames like 'svn log -v'

1666 votes
Accepted

How does Git handle symbolic links?

1619 votes
Accepted

What's the simplest way to list conflicted files in Git?

1494 votes
Accepted

Git: Find the most recent common ancestor of two branches

1408 votes

How to delete a stash created with git stash create?

1361 votes
Accepted

Revert to a commit by a SHA hash in Git?

1304 votes
Accepted

Undoing a 'git push'

1064 votes
Accepted

Display last git commit comment

1043 votes

How to fully delete a git repository created with init?

946 votes
Accepted

How to revert initial git commit?

745 votes
Accepted

What is the meaning of git reset --hard origin/master?

547 votes
Accepted

What's the purpose of git mv?

433 votes
Accepted

Git: copy all files in a directory from another branch

407 votes

Trying to fix line-endings with git filter-branch, but having no luck

404 votes

How do I discard unstaged changes in Git?

382 votes
Accepted

How do I move a Git branch out into its own repository?

380 votes
Accepted

How to count total lines changed by a specific author in a Git repository?

373 votes
Accepted

How can I show the name of branches in `git log`?

372 votes

Why does git revert complain about a missing -m option?

1
2 3 4 5
66