Created
July 10, 2021 08:33
-
-
Save mahdi13/c42f51a28fcda5824141f8c1ad8b7cc7 to your computer and use it in GitHub Desktop.
git command line insight
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
#!/usr/bin/env bash | |
(git log --reverse --pretty='format:%C(auto)%h (%s, %ad)' | head -3 ) && echo "..." && git --no-pager shortlog -s -n --all --no-merges && echo "..." && (git log --reverse --pretty='format:%C(auto)%h (%s, %ad)' | tail -3 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment