Last active
December 20, 2015 16:29
-
-
Save yusuke024/6161952 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git clean repo and remove untracked files and directories. | |
git clean -fxd | |
# Count number of commits from <commit/branch> to <commit/branch> | |
git log --oneline <start_but_excluded_commit/branch>..<end_included_commit/branch> | wc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment