Skip to main content
Jakub Narębski's user avatar
Jakub Narębski's user avatar
Jakub Narębski's user avatar
Jakub Narębski
  • Member for 15 years, 7 months
  • Last seen this week
4006 votes
Accepted

How do I get the hash for the current commit in Git?

2857 votes
Accepted

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

2146 votes
Accepted

How can I revert multiple Git commits?

1704 votes
Accepted

How to resolve "Error: bad index – Fatal: index file corrupt" when using Git

1671 votes
Accepted

Cleaning up old remote git branches

1621 votes
Accepted

How would I extract a single file (or changes to a file) from a git stash?

1607 votes

How to compare a local Git branch with its remote branch

1535 votes

How do I check out a remote Git branch?

1248 votes
Accepted

How can I grep Git commits for a certain word?

746 votes
Accepted

Simple tool to 'accept theirs' or 'accept mine' on a whole file using git

663 votes

How do you merge two Git repositories?

615 votes
Accepted

How to read the output from git diff?

612 votes

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

505 votes

How to diff a commit with its parent

457 votes
Accepted

Git and Mercurial - Compare and Contrast

418 votes
Accepted

git-checkout older revision of a file under a new name

383 votes
Accepted

Are multiple `.gitignore`s frowned on?

383 votes

How do I diff the same file between two different commits on the same branch?

376 votes
Accepted

HEAD and ORIG_HEAD in Git

371 votes
Accepted

Difference between GIT and CVS

361 votes

How do I fix a merge conflict due to removal of a file in a branch?

358 votes

How do I list all the files in a commit?

351 votes
Accepted

Git reset --hard and push to remote repository

350 votes
Accepted

How to programmatically determine the current checked out Git branch

306 votes
Accepted

Generating statistics from Git repository

294 votes

Commit only part of a file's changes in Git

293 votes

How to update remote branch information?

286 votes
Accepted

How to git bundle a complete repo

192 votes

Make 'git diff' ignore ^M

189 votes

Revert to a commit by a SHA hash in Git?

1
2 3 4 5
14