问题
I use number of commits as version of my program (Using hash of commit as version very inconvenient, becouse it not sequential). So I obtain commit number:
git rev-list --count HEAD
For example for current state it reurns 53. Can I do checkout to commit number 35 ? Or obtain hash of commit number 35 ?
来源:https://stackoverflow.com/questions/28671503/git-checkout-to-commit-number-n