Commit Graph

7 Commits

Author SHA1 Message Date
Martin Frost 4575605991 v0.3.3 - Ensure commit.template is set
We currently ensure this by simply overriding any existing template.

This is of course sub-optimal, but the previous recommendation, to
globally set `commit.template` to a relative path would otherwise make
`git commit` crash when run in a repo without first creating that
template file, e.g. by running `git mob ...` or `git solo` in the
project directory before committing anything.

This way, we don't have to globally set `commit.template`, and git-mob
will still work.
2020-10-24 18:21:32 +02:00
Martin Frost a5ff50fd1b v0.3.2 - Fix typo in README 2020-06-19 13:52:49 +02:00
Martin Frost 6d8df997d6 v0.3.1
Mention `git config commit.template` in README.
2020-06-19 13:49:03 +02:00
Martin Frost dc822cdcac Update lockfile dependencies 2020-06-19 13:38:04 +02:00
Martin Frost 609cdf83d8 Add git-edit-coauthor command
It is now possible to edit the available co-authors, in case you
misspelled someone's name, or they change their email address, or
something.
2020-05-24 13:23:15 +02:00
Martin Frost de5af01d1f First draft of git-mob binary
It can:

* Parse the `~/.git-coauthors` file
* List available co-authors with --list
* Filter available co-authors given a list of initials, giving an error
  if no co-author matches a given initial
2020-05-23 20:56:32 +02:00
Martin Frost 8032a08656 Add working version of git-solo
`git-solo` clears the `.git/.gitmessage` commit message template in the
current git repository.

If the current working directory is not within a git repository, it will
print `Not in a git repository` on stderr and exit.
2020-05-23 20:56:32 +02:00