👩🏻💻 Easily add coworking signitures to your commits.
Full Changelog: https://github.com/koddsson/coworking-with/compare/v0.4.2...v0.4.3
Full Changelog: https://github.com/koddsson/coworking-with/compare/v0.4.1...v0.4.2
This version updates the project's dependencies as well as fixing an issue where the program would crash when working in a project that has a package.json
file and "type": "module"
set in it.
https://github.com/koddsson/coworking-with/compare/v0.4.0...v0.4.1
commit-msg
script in javascript (#21)https://github.com/koddsson/coworking-with/compare/v0.3.2...v0.4.0
https://github.com/koddsson/coworking-with/compare/v0.3.1...v0.3.2
https://github.com/koddsson/coworking-with/compare/v0.3.0...v0.3.1
New feature:
https://github.com/koddsson/coworking-with/compare/v0.2.0...v0.3.0
Confirm coauthor info + prevent duplicated coauthored-by entries #9
Easily add coworking signitures to your commits.
npx @koddsson/coworking-with <usernames>...
The script installs a commit-msg
hook that will append all commit messages with Co-authored-by: USERNAME <EMAIL>
for each user you have specified. This commit trailer can be picked up by tools such as GitHub.
Note that since we go through the git log history to find the signiture that the user you want to cowork with needs to have at least one commit into the repo you are working in.
Quit "coworking mode" with the --stop
flag.
npx @koddsson/coworking-with --stop
That's pretty much it.
I want a indicator on my shell to tell me if I'm coworking mode or not. I do this in my fish shell by checking the coworking.coauthor
key in the git config.
function _is_coworking
echo (command git config --get-all coworking.coauthor 2> /dev/null)
end
[..]
if [ (_is_coworking) ]
set -l git_coworking "👨🏻💻"
set git_info "$git_info$git_coworking"
end
This snippet just sets a little emoji on my prompt when I'm in coworking mode but your setup is going to need some different way to indicate coworking mode.