1.7.0 • Published 11 months ago
create-git-alias v1.7.0
create-git-alias
👨🏻 CLI tool to apply some useful git aliases
This is an interactive process. You get to choose what you want
npm create git-alias
options
--all
Show all choices - even ones that are identical to the ones I have
npm create git-alias --all
--base <BASE_BRANCH>
Base branch for scripts doing rebase and deleting current branches. Defaults to "master"
aliases
alias | Description |
---|---|
aliases | print all git aliases |
back | Reset to previous commit |
branches | Verbose, sorted list of branches |
far | fetch from remote "\<BASE_BRANCH>" or 1st argument and rebase |
feature | Create a branch starting with today's date |
fix | add, amend the current commit and push some fixes |
from | how many commit since \ |
get | start a repo by remote URL (1st argument) with branch "\<BASE_BRANCH>" or 2nd argument |
l | pretty log |
last | Show diff of last \ commits (defaults to 1) |
mend | commit amend with no edits |
merged | After remote merge, trash current branch and pull from "\<BASE_BRANCH>" or 1st argument |
please | git push \<this_branch> --force-with-lease |
pruner | prune aggressive |
purge | remove local and remote branches (accepts many) |
root | Change directory to repository root |
s | Short status with branch name |
sum | Generate a summary of pending changes (1st argumentoptional can change the base branch) |
trash | Move to "\<BASE_BRANCH>" or 1st argument and delete current local branch |
whereami | What branch am I on? |
wip | add everything, commit with a random commit message and push to remote origin |
yolo | a commit with a random commit message from whatthecommit |
yolt | amend commit with a random commit message from whatthecommit |
1.7.0
11 months ago
1.6.1
1 year ago
1.6.0
2 years ago
1.5.1
2 years ago
1.5.0
2 years ago
1.4.2
3 years ago
1.4.1
3 years ago
1.4.0
3 years ago
1.3.1
3 years ago
1.3.0
4 years ago
1.2.0
4 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.0
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago