New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

git-co-commit

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-co-commit

Git pairing with multiple co-authors in a simple way.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Git co commit GitHub license npm Known Vulnerabilities

Documentation Get started

Logo

When a pair or multiple developers work on git projects, there is a convention that allows us to document our co-authors in the commit message. However, adding the co-authorship information on every single commit is painful.

Do a git commit in the same way it is usually done, with the pair members username, to make them get credit for the commit (if more than one member works on the same code, separate the username by comma). The author’s name(who writes the code - Driver) on the commit will be added automatically.

Each co-author will be added to the commit message, so that they are also credited in the github contributions view!

Before pairing

before pairing

After pairing

after pairing


Overview

  • To install git co commit run the following command in the cmd or bash
$ npm i -g git-co-commit

It will install the git-co-commit package and add all the dependencies to the root level of your computer. To use the installed git co commit package do the following

  • Create a folder and then open the folder in cmd or bash
$ mkdir demo
$ cd demo
  • Run git init
$ git init
  • Add index.html file
$ touch index.html
  • Run git add index.html
$ git add index.html
  • Run commit - it will ask for a commit message, once you add your commit message, it will ask for the pair’s username separated by comma (Author’s name doesn’t need to be included, it will be automatically added).
$ commit

Use git co commit

To know more visit the documentation site of git co commit

License

Git co commit is open source npm package licensed as MIT.

Keywords

git pair

FAQs

Package last updated on 06 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts