Git Signoff Shortcut [Snippet] – DZone Open Source | xxxGit Signoff Shortcut [Snippet] – DZone Open Source – xxx
菜单

Git Signoff Shortcut [Snippet] – DZone Open Source

四月 15, 2019 - MorningStar

Over a million developers have joined DZone.
Git Signoff Shortcut [Snippet] - DZone Open Source

{{announcement.body}}

{{announcement.title}}

Let’s be friends:

Git Signoff Shortcut [Snippet]

DZone ‘s Guide to

Git Signoff Shortcut [Snippet]

Working on a project that uses Developers Certificates of Origin? Here’s how to create an alias and signoff for git.

May. 20, 19 · Open Source Zone ·

Free Resource

Join the DZone community and get the full member experience.

Join For Free

When Helm moved from a CLA to a DCO, it meant I needed to start adding a signoff to my commits on that project. While git makes this almost easy, by using the --signoff flag, it means I need to remember to use the flag when committing.

To make it easier I created an alias so I can use git cs and it will commit with signoff.

To create the alias I ran the command:

$ git config --global alias.cs 'commit --signoff'

After that, I had an alias I could use when using a signoff.

Topics:
open source ,shortcut ,dco ,git signoff ,git command

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

Open Source Partner Resources

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.linkDescription }}

{{ parent.urlSource.name }}

· {{ parent.articleDate | date:'MMM. dd, yyyy' }} {{ parent.linkDate | date:'MMM. dd, yyyy' }}


Notice: Undefined variable: canUpdate in /var/www/html/wordpress/wp-content/plugins/wp-autopost-pro/wp-autopost-function.php on line 51