| zsh | R Documentation |
Provides functions to common Z-shell git plugin aliases.
glog(n = 10L)
gcc(...)
gcmsg(msg = "wip")
gco(branch = NULL)
gcb(branch = NULL)
gpr()
gp(...)
gpu()
gpd()
gst()
gss()
gba()
gbd(branch = NULL, force = FALSE)
gbmm(branch = gitr_default_br())
gbnm(branch = gitr_default_br())
gbm(branch = NULL)
ga(...)
gaa()
gau()
gsta()
gstl()
gstaa(n = 0)
gstd(n = 0)
gstc()
gsts(text = FALSE)
gpop()
gstp()
gtn()
gfa()
gac()
gwip()
gclean(dry_run = TRUE)
gdf(file = NULL, staged = FALSE)
gpf()
gnuke()
gcf(global = FALSE)
gcm()
grm(...)
grbc()
grba()
grbs()
grbm()
grv()
n |
|
... |
Additional arguments passed to the system
command-line |
msg |
|
branch |
|
force |
|
text |
|
dry_run |
|
file |
A full file path within the repository to diff. |
staged |
|
global |
|
Most aliases invisibly return NULL ... with some exceptions.
glog(): Get the git log in a pretty format for the
n most recent commits.
gcc(): git commit .... To avoid masking the base::gc() function,
this alias has been re-mapped to gcc().
gcmsg(): git commit -m <msg>.
gco(): git checkout.
gcb(): git checkout -b <branch>.
gpr(): git pull --rebase.
gp(): git push.
gpu(): git push -u origin.
gpd(): git push --dry-run.
gst(): git status.
gss(): git status -s.
gba(): git branch -a.
gbd(): git branch -dD.
gbmm(): git branch --merged <branch>.
gbnm(): git branch --no-merged <branch>.
gbm(): git branch -m.
ga(): git add ....
gaa(): git add --all.
gau(): git add -u.
gsta(): git stash.
gstl(): git stash list.
gstaa(): git stash apply.
Note zero-indexing!
gstd(): git stash drop.
Note zero-indexing!
gstc(): git stash clear. Danger!
gsts(): git stash show.
gpop(): git stash pop --quiet --index.
gstp(): See gpop().
gtn(): git tag -n.
gfa(): git fetch --all --prune.
gac(): git commit --no-verify --amend --no-edit.
gwip(): git commit --no-verify -m 'wip'.
gclean(): git clean -f -d.
gdf(): git diff <file>.
gpf(): git push --force-with-lease.
gnuke(): git reset --hard && git clean -df.
gcf(): git config --local or git config --global.
gcm(): Checkout the default branch.
grm(): git rm ....
grbc(): git rebase --continue.
grba(): git rebase --abort.
grbs(): git rebase --skip.
grbm(): git rebase gitr_default_br().
grv(): git remote -v.
## Not run:
glog()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.