Skip to content

Instantly share code, notes, and snippets.

@natrexjacobs
Created May 25, 2023 00:23
Show Gist options
  • Save natrexjacobs/38069b1592ae2685c765b58f93643945 to your computer and use it in GitHub Desktop.
Save natrexjacobs/38069b1592ae2685c765b58f93643945 to your computer and use it in GitHub Desktop.
Handy Git Aliases
# git dev - fetch latest development without changing branches
git config --global alias.dev 'fetch origin development:development'
# git ls - get last 40 changes to current folder
git config --global alias.ls 'log --pretty=oneline -40 -- ./'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment