74 lines
1.4 KiB
Groff
74 lines
1.4 KiB
Groff
." Text automatically generated by txt2man
|
|
.TH git-fresh "January 21, 2019" "" ""
|
|
.SH NAME
|
|
\fBgit-fresh
|
|
\fB
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.fam C
|
|
\fBgit-fresh\fP [\fB-fmrtRWS\fP] [\fB-sl\fP] [\fIremote\fP] [\fIroot\fP]
|
|
.fam T
|
|
.fi
|
|
.SH DESCRIPTION
|
|
\fBgit-fresh\fP helps keep your Git repo fresh.
|
|
.PP
|
|
By default, \fBgit-fresh\fP will:
|
|
.IP \(hy 3
|
|
update local \fIroot\fP (master) to match \fIremote\fP \fIroot\fP
|
|
.IP \(hy 3
|
|
stash changes
|
|
.IP \(hy 3
|
|
prune \fIremote\fP branches
|
|
.PP
|
|
\fBgit-fresh\fP will ignore any branches listed in a .freshignore file.
|
|
\ .freshignore should contain branch names you would like to ignore
|
|
on separate lines. The file can exist in the current Git repo
|
|
or in the home directory, i.e. ~/.freshignore.
|
|
.PP
|
|
\fIremote\fP is origin by default. \fIroot\fP is master by default.
|
|
.SH OPTIONS
|
|
.TP
|
|
.B
|
|
\fB-f\fP
|
|
Delete stale local and \fIremote\fP branches
|
|
.TP
|
|
.B
|
|
\fB-m\fP
|
|
Merge \fIremote\fP \fIroot\fP into current branch
|
|
.TP
|
|
.B
|
|
\fB-r\fP
|
|
Rebase current branch against \fIremote\fP \fIroot\fP
|
|
.TP
|
|
.B
|
|
\fB-t\fP
|
|
Remove local tags that do not exist on \fIremote\fP
|
|
.TP
|
|
.B
|
|
\fB-R\fP
|
|
Reset local \fIroot\fP to \fIremote\fP \fIroot\fP
|
|
.TP
|
|
.B
|
|
\fB-W\fP
|
|
Wipe workspace clean
|
|
.TP
|
|
.B
|
|
\fB-S\fP
|
|
Clear all stash entries
|
|
.TP
|
|
.B
|
|
\fB-s\fP
|
|
Apply stashed changes after run
|
|
.TP
|
|
.B
|
|
\fB-l\fP
|
|
Only delete local stale branches
|
|
.TP
|
|
.B
|
|
\fB-v\fP
|
|
Print \fBgit-fresh\fP version and exit
|
|
.SH BUGS
|
|
Issues are tracked on GitHub: https://github.com/imsky/\fBgit-fresh\fP
|
|
.SH AUTHOR
|
|
Ivan Malopinsky - http://imsky.co
|