rkotze / git-mob

Co-author commits tool. A cross-platform command-line tool for social coding. Includes co-authors in commits when pair/mob programming.
https://www.npmjs.com/package/git-mob
MIT License
182 stars 21 forks source link

Fix: Create global coauthor file #125

Closed rkotze closed 4 months ago

rkotze commented 4 months ago

Description

When creating the global git-coauthor file provide the global path internally instead of using the pathToCoAuthors fn.

Pull request checklist

Pull request type

Please check the type of change your PR introduces:

What is the current behaviour?

If a local .git-coauthor file is fine it will write the changes their instead of globally.

Issue URL:

What is the new behaviour?

Creating a global .git-coauthor file will only check and create a global file.

Does this introduce a breaking change?