Last active
August 25, 2022 17:34
-
-
Save harini-ua/dbe64a4a71cbf3bb52a05c73e7f0f256 to your computer and use it in GitHub Desktop.
Git Aliases
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
# To show users from all branches (not only the ones in the current branch) you have to add --all flag | |
# git authors --all | |
# This is also great for checking who touched a specific file rather than the whole project. You must add the path to the file at the end. | |
# git authors <path_to_file> | |
git config --global alias.authors 'shortlog --summary --numbered --email' | |
# Rename the branch | |
# git rename <current_branch_name> <new_branch_name> | |
git config --global alias.rename 'branch -m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment