Kubernetes Manifest Studio
Generate Deployment, Service, and Ingress YAML with a drift checklist.
OpenA starter set of Git aliases you can paste into a terminal in one go.
Seven aliases cover status, branches, commits and logs.
Delete any lines you do not want before running them.
Each line writes one alias to your global config.
Type git st, git lg or git last from then on.
Typing git status, git checkout and long log flags dozens of times a day adds up. A few aliases cut the keystrokes, yet most people never get around to setting them up on a new machine.
The output is a fixed set of seven git config --global alias commands: st for status, co for checkout, br for branch, cm for commit -m, lg for a one-line decorated graph of the last 20 commits, unstage for reset HEAD --, and last for the most recent commit. There are no options to choose; copy the block or download it as a .sh file, delete the lines you do not want, and run the rest.
Before pasting, run git config --get-regexp alias to see what you already have, since running these commands overwrites any existing alias with the same name. Since Git 2.23, git switch and git restore cover most of what checkout does, so you may want sw for switch alongside co. Adding your own follows the same pattern: git config --global alias.NAME "command and flags".
The commands are plain text produced in your browser. The Git config generator handles name, email and line endings, and the Git log formatter shortens hashes in pasted logs.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
In the alias section of your global .gitconfig file, usually in your home directory. You can edit or remove them there directly.
No. Git ignores aliases that share a name with an existing command, so an alias called status would never run. All seven names here are short forms that do not clash.
Run git config --global --unset alias.co, replacing co with the alias you want to drop.