-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
65 lines (46 loc) · 1.47 KB
/
README.Rmd
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# ggit
The goal of ggit is to help manage multiple `git` repositories.
It first list all available repositories by scanning all files recursively from a starting path.
Then, some actions can be performed such as:
+ Fetching all repositories in one command
+ Listing all repositories with a broken remote
+ Print the date of the last pull
## Installation
You can install the current version of ggit with:
``` r
remotes::install_github("denrou/ggit")
```
## Example
List all repositories located in the HOME directory
```{r example_git}
ggit::tbl_git(path = Sys.getenv("HOME"))
```
Get all contributions for all projects
```{r example_contrib}
ggit::contributions()
```
Get all configuration files for all projects:
```{r example_config}
ggit::configs()
```
## Shiny application
A shiny application is included within the package ([`shiny`](https://github.com/rstudio/shiny) must be installed).
Just use:
```{r shiny, eval=FALSE}
ggit::run_app()
```
Here is a screenshot of the application:
![Alt text](inst/images/Screenshot_2019-01-14 Glance Git Repositories(1).png?raw=true "Screenshot ggit shiny application")
![Alt text](inst/images/Screenshot_2019-01-14 Glance Git Repositories.png?raw=true "Screenshot ggit shiny application")