Skip to content

Instantly share code, notes, and snippets.

@CNSumi
Last active February 15, 2023 10:04
Show Gist options
  • Save CNSumi/6c564b083a443419fa62aeb5a1995e64 to your computer and use it in GitHub Desktop.
Save CNSumi/6c564b083a443419fa62aeb5a1995e64 to your computer and use it in GitHub Desktop.
shell-shortcut
@CNSumi
Copy link
Author

CNSumi commented Feb 15, 2023

by scripts/shell

git config --global alias.st 'status'
git config --global alias.co 'checkout'
git config --global alias.cob 'checkout -b'

by git config file

git config -e --global

[alias]
    st = status
    co = checkout
    cob = checkout -b 

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