Add the `publish.remote` option to enable the remote to publish to configurable rather than hard-coded in the alias.
Git Configuration
Aliases
A set of Git aliases which follow the idea "say what you mean" rather than remembering the plumbing term of a specific command.
abandonabandons all local changes leave a clean repository.unstageunstage staged changes, shorthand forgit reset -q HEAD --.amendamends the last commit, shorthand forgit commit --amend.unamendapplies a negative diff of the lastgit commit --amend.fixupprepare to fixup a commit, shorthand forgit commit --fixup.squashprepare to squash a commit, shorthand forgit commit --squash.prepareprepare a branch for merging into another, shorthand forgit rebase --interactive --fork-point.listlist local branches, a shorthand forgit branch.locallist local branches which don't have remote tracking branches.createcreates a new branch, shorthand forgit checkout -b.deletedeletes an existing branch, shorthand forgit branch -D.refnamethe name of the current branch.publishpush and set the tracking branch of a local branch to origin, shorthand forgit push -u origin <branch>.unpublishdelete a remote branch, shorthand forgit push origin :<branch>.forceforce push local changes to the remote, shorthand forgit push --force-with-lease.changescompare the list of commits on the local branch to another branch, e.g. when on a feature branchgit changes masterlists the commits which are not present on the master branch.touchedlists the files which were touched by a selected commit.savelike pushing to the stash but attached to the current branch, shorthand forgit commit -am "temp!".loadlike popping from the stash but attached to the current branch, ifHEADhas the subjecttemp!thengit reset --mixed HEAD~is executed, otherwise the messageerror: commit subject is not: temp!is output.
Zsh Completions
The excellent Git completions provided by Zsh which can see through aliases however some aliases involve multiple commands or rely on the shell to function. The following aliases extend the default Git completions.
git changescompletions for the branch name to compare with are provided.
Description
Languages
Shell
100%