I found an example on how to delete a commit but it includes git log in the following format
Number Hash Commit Message Author
1 2c6a45b (HEAD) Adding public method to access protected method Tom
2 ae45fab Updates to database interface Contractor 1
3 77b9b82 Improving database interface Contractor 2
4 3c9093c Merged develop branch into master Tom
5 b3d92c5 Adding new Event CMS Module Paul
6 7feddbb Adding CMS class and files Tom
7 a809379 Adding project to Git Tom
When I issue the git log
command I'm getting log in another format and without the numbers (which are required by the task).
How to get git log
with numbers?
327bebf545a6024c4e67ecd034cdc1f64a02ce15
) but in many situations you only need the first 8 characters (327bebf5
) – Mindy