zsh {gitr}R Documentation

Z-shell Aliases

Description

Provides functions to common Z-shell git plugin aliases.

Usage

glog(n = 10)

gcc(...)

gcmsg(msg = "wip")

gco(branch = NULL)

gcb(branch = NULL)

gpr()

gp(...)

gpu()

gpd()

gst()

gss()

gba()

gbd(branch = NULL, force = FALSE)

gbmm(branch = git_default_br())

gbnm(branch = git_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()

Arguments

n

Numeric. How far back to go from current HEAD. Same as the command line ⁠git log -n⁠ parameter. For ⁠git stash⁠ commands, zero-index into the stash list.

...

Additional arguments passed to the system command-line ⁠git <command> [<args>]⁠ call.

msg

Character. The message for the commit subject line.

branch

Character. The name of a branch, typically a feature branch.

force

Logical. Should the branch delete be forced with the -D flag?

text

Logical. Show the text diffs from the stash.

dry.run

Logical. Clean as dry-run?

file

A full file path within the repository to diff.

staged

Logical. Compare a staged file to HEAD? Otherwise the working directory is compared to the index (staged or HEAD).

global

Logical. Query global repository. Alternatively local configuration only.

Value

Most aliases invisibly return NULL ... with some exceptions.

Functions

Examples

## Not run: 
  glog()

## End(Not run)

[Package gitr version 0.0.1 Index]