👩🏻💻 Easily add coworking signitures to your commits.
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.
https://github.com/koddsson/coworking-with/compare/v0.0.7...v0.0.8
Now called: @koddsson/coworking-with
Easily add coworking signitures to your commits.
Go into "coworking mode" by denoting the usernames of the people you are working with.
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.
npx coworking-with <usernames>...
Quit "coworking mode" with the --stop
flag.
npx 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.
np
and publish to 0.0.1 2e738dcgit get-coauthor
in js 566b0ddhttps://github.com/koddsson/coworking-with/compare/b128d9b1a4a327905dbd6eb53a823b6e8dacf7ab...v0.0.1