3 ms·
My git status is `git s` aliased to `git status -sb`, don't need all the extra clutter. I also have a few .zshrc aliases, like `gap` which is `git add -p` or `
by Cthulhu_ 2y ago
My git status is `git s` aliased to `git status -sb`, don't need all the extra clutter.
I also have a few .zshrc aliases, like `gap` which is `git add -p` or `gam` which is `git commit --amend --no-edit`.
But also some typo fixing ones that I end up doing a lot, some because I type in half a command and get distracted / check something, then start over with a partially filled in command:
alias gigit="git"
alias gitgit="git"
alias ggit="git"
alias qgit="git"
alias ght="git"
alias got="git"
alias cleear="clear"
alias gits="git s"
Another trick, in your .gitconfig, add this [alias]:
git = !git
That way, if you accidentally do `git git commit` or whatever (like above) it just works. Also, some typo fixes there:
commmit = commit
comit = commit