Skip to content

Instantly share code, notes, and snippets.

@cconard96
Created November 30, 2021 01:31
Show Gist options
  • Save cconard96/a7b2b7241d46d0c7db3e47ba819c92c1 to your computer and use it in GitHub Desktop.
Save cconard96/a7b2b7241d46d0c7db3e47ba819c92c1 to your computer and use it in GitHub Desktop.
My Git Aliases
# Redate - Change commit date for the last commit to now
alias.redate commit --amend --reset-author --no-edit
# Last - Show details of last commit
alias.last log -n 1
# Current-Branch - Show the current branch namme
alias.current-branch rev-parse --abbrev-ref HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment