Skip to content

Instantly share code, notes, and snippets.

@vicradon
Created May 15, 2022 13:35
Show Gist options
  • Save vicradon/e4a3d8f2e782260786c8974ff64ab982 to your computer and use it in GitHub Desktop.
Save vicradon/e4a3d8f2e782260786c8974ff64ab982 to your computer and use it in GitHub Desktop.
This creates basic git aliases for your work
git config --global alias.co checkout
git config --global alias.p push
git config --global alias.branch br
git config --global alias.c commit
git config --global alias.a add
@vicradon
Copy link
Author

vicradon commented Nov 4, 2023

so you can use it like so

git init
git a . # instead of git add .
git c -m "chore: initial commit"
git p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment