Git useful commands
Beauty brief commits listing
$ git log --oneline | nl -v0 | sed 's/^ \+/&HEAD~/'
That command will render a listing with the latest commits first and original commit last:
0 b0d9243 Merge pull request #119 from awalGarg/master 1 f0b7b87 Merge pull request #189 from delapuente/proxify-render-store 2 973476a Add proxy to images as well 3 986e9fe Merge pull request #188 from delapuente/proxify-render-store 4 7f7ae51 Adding proxy to allow mixed content ... 401 2813e25 Update README.md 402 1ec78c5 Create README.md 403 c2c95db Initial commit
Of course typing this each time would be a nightmare to remember so a custom command or alias would be in order!
Recent Comments