2 Commits

Author SHA1 Message Date
b6c06e29a4 Release v0.2 2021-11-24 19:50:45 +01:00
6bec0eda69 docs: Fix repos command 2021-11-24 19:42:33 +01:00
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "git-repo-manager"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = [
"Hannes Körber <hannes@hkoerber.de>",

View File

@@ -17,7 +17,7 @@ Then, you're ready to run the first sync. This will clone all configured reposit
and set up the remotes.
```bash
$ grm repo sync --config example.config.toml
$ grm repos sync --config example.config.toml
[] Cloning into "/home/me/projects/git-repo-manager" from "https://code.hkoerber.de/hannes/git-repo-manager.git"
[] git-repo-manager: Repository successfully cloned
[] git-repo-manager: Setting up new remote "github" to "https://github.com/hakoerber/git-repo-manager.git"
@@ -30,7 +30,7 @@ $ grm repo sync --config example.config.toml
If you run it again, it will report no changes:
```
$ grm repo sync --config example.config.toml
$ grm repos sync --config example.config.toml
[✔] git-repo-manager: OK
[✔] dotfiles: OK
```
@@ -42,7 +42,7 @@ a configuration from scratch. Luckily, GRM has a way to generate a configuration
from an existing file tree:
```bash
$ grm repo find ~/your/project/root > config.toml
$ grm repos find ~/your/project/root > config.toml
```
This will detect all repositories and remotes and write them to `config.toml`.
@@ -50,7 +50,7 @@ This will detect all repositories and remotes and write them to `config.toml`.
### Show the state of your projects
```bash
$ grm repo status --config example.config.toml
$ grm repos status --config example.config.toml
╭──────────────────┬──────────┬────────┬───────────────────┬────────┬─────────╮
│ Repo ┆ Worktree ┆ Status ┆ Branches ┆ HEAD ┆ Remotes │
╞══════════════════╪══════════╪════════╪═══════════════════╪════════╪═════════╡
@@ -66,7 +66,7 @@ in:
```
$ cd ~/example-projects/dotfiles
$ grm repo status
$ grm repos status
╭──────────┬──────────┬────────┬──────────┬───────┬─────────╮
│ Repo ┆ Worktree ┆ Status ┆ Branches ┆ HEAD ┆ Remotes │
╞══════════╪══════════╪════════╪══════════╪═══════╪═════════╡