Here are some aliases I implemented

- `git co <branch-name>` to `git checkout <branch-name>` (activate with `git config --global alias.co checkout`)
- `git com` to `git checkout master` (activate with `git config --global alias.com "checkout master"`)
- `git R` to `git restore .` (activate with `git config --global alias.R "restore ."`)
- `git A` to `git add .` (activate with `git config --global alias.A "add ."`)

Can also have specific branch aliases only, where you just have to replace `--global` with `--local` within the specific branch.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.