-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathclean_git.Rd
37 lines (36 loc) · 1.26 KB
/
clean_git.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_git.R
\name{clean_git}
\alias{clean_git}
\title{Clean the git repository}
\usage{
clean_git(repo = ".", verbose = TRUE)
}
\arguments{
\item{repo}{The path to the git repository. If the directory is not a
repository, parent directories are considered (see \link[gert]{git_find}). To disable
this search, provide the filepath protected with \code{\link[=I]{I()}}. When using this
parameter, always explicitly call by name (i.e. \verb{repo = }) because future
versions of gert may have additional parameters.}
\item{verbose}{display some progress info while downloading}
}
\description{
\itemize{
\item update local branches that are behind their counterpart on origin.
\item list local branches that have diverged from their counterpart the origin.
\item list local branches without counterpart on origin that have diverged from
the main branch.
\item remove local branches without counterpart on origin and fully merged into
the main branch.
\item remove local copies of origin branches deleted at the origin.
}
}
\seealso{
Other git:
\code{\link{create_draft_pr}()},
\code{\link{is_repository}()},
\code{\link{is_workdir_clean}()},
\code{\link{new_branch}()},
\code{\link{set_tag}()}
}
\concept{git}