Mention `git config commit.template` in README.
This commit is contained in:
Martin Frost 2020-06-19 13:45:28 +02:00 committed by Martin Frost
parent 5f88d5a029
commit 6d8df997d6
3 changed files with 8 additions and 3 deletions

2
Cargo.lock generated
View File

@ -157,7 +157,7 @@ dependencies = [
[[package]] [[package]]
name = "git_mob" name = "git_mob"
version = "0.3.0" version = "0.3.1"
dependencies = [ dependencies = [
"dirs", "dirs",
"git2", "git2",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "git_mob" name = "git_mob"
version = "0.3.0" version = "0.3.1"
authors = ["Martin Frost <martin@frost.ws>"] authors = ["Martin Frost <martin@frost.ws>"]
edition = "2018" edition = "2018"
description = "A CLI tool for social coding." description = "A CLI tool for social coding."

View File

@ -12,6 +12,10 @@ It is essentially a Rust clone of the [git-mob NPM package](https://www.npmjs.co
Just run `cargo install git_mob` and you should be all set. Just run `cargo install git_mob` and you should be all set.
If it does not seem to work, try to run `git config --glebal commit.template
.git/.gitmessage` to ensure that you have configured your your gitmessage
template to where `git-mob` is looking for it.
## Examples ## Examples
@ -29,7 +33,8 @@ Just run `cargo install git_mob` and you should be all set.
git mob a b git mob a b
* Set Alice as the main author for any commits you make, since she is the one doing most of the thinking anyway, and add yourself as a mob member: * Set Alice as the main author for any commits you make, since she is the one
doing most of the thinking anyway, and add yourself as a mob member:
git mob -o a b me git mob -o a b me