All Projects → fteem → Git Semantic Commits

fteem / Git Semantic Commits

Tiny semantic commit messages for Git.

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Git Semantic Commits

Presentmon
Tool for collection and processing of ETW events related to frame presentation on Windows.
Stars: ✭ 360 (-12.2%)
Mutual labels:  tool
Superdump
A service for automated crash-dump analysis
Stars: ✭ 384 (-6.34%)
Mutual labels:  tool
Release It
🚀 Automate versioning and package publishing
Stars: ✭ 4,773 (+1064.15%)
Mutual labels:  tool
Sorted Colors
A tool to sort the named CSS colors in a way that it shows related colors together
Stars: ✭ 167 (-59.27%)
Mutual labels:  tool
Maskphish
Give a Mask to Phishing URL like a PRO.. A MUST have tool for Phishing.
Stars: ✭ 370 (-9.76%)
Mutual labels:  tool
Linux Kernel Exploits
linux-kernel-exploits Linux平台提权漏洞集合
Stars: ✭ 4,203 (+925.12%)
Mutual labels:  tool
Nativedisplaybrightness
macOS display brightness utility for external monitors with a native UI.
Stars: ✭ 358 (-12.68%)
Mutual labels:  tool
Glue
Application Security Automation
Stars: ✭ 412 (+0.49%)
Mutual labels:  tool
Hutool
🍬A set of tools that keep Java sweet.
Stars: ✭ 21,386 (+5116.1%)
Mutual labels:  tool
Blossomspokemongomanager
BlossomsPokemonGoManager is a tool for easy managing of your Pokémon Go game. Visit us at our Discord server to talk:
Stars: ✭ 404 (-1.46%)
Mutual labels:  tool
Graph Visualizer
Visualizer for your Playable graphs
Stars: ✭ 367 (-10.49%)
Mutual labels:  tool
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (-10.24%)
Mutual labels:  tool
Dryrun
☁️ Try the demo project of any Android Library
Stars: ✭ 3,845 (+837.8%)
Mutual labels:  tool
Polymorph
Polymorph is a real-time network packet manipulation framework with support for almost all existing protocols
Stars: ✭ 364 (-11.22%)
Mutual labels:  tool
Phpinsights
🔰 Instant PHP quality checks from your console
Stars: ✭ 4,442 (+983.41%)
Mutual labels:  tool
Kitti2bag
Convert KITTI dataset to ROS bag file the easy way!
Stars: ✭ 359 (-12.44%)
Mutual labels:  tool
Goben
goben is a golang tool to measure TCP/UDP transport layer throughput between hosts.
Stars: ✭ 391 (-4.63%)
Mutual labels:  tool
Hacking
hacker, ready for more of our story ! 🚀
Stars: ✭ 413 (+0.73%)
Mutual labels:  tool
Reveal
Read Eval Visualize Loop for Clojure
Stars: ✭ 412 (+0.49%)
Mutual labels:  tool
Common.utility
Various helper class
Stars: ✭ 4,101 (+900.24%)
Mutual labels:  tool

Semantic Git commit messages

Inspired by Sparkbox's awesome article on semantic commit messages.

What is this?

These are very simple custom git commands that enforce the git user to write better git commit messages. If still confused, read the article above.

Installation:

  1. Clone this repo, preferably in your $HOME directory. git clone https://github.com/fteem/git-semantic-commits ~/.git-semantic-commits

Tip: If you're using Cygwin, open it and type 'echo $USERPROFILE'. This will show you the location of the $HOME directory.

  1. Install it as a set of bash scripts or git aliases:
  • bash scripts: cd ~/.git-semantic-commits && ./install.sh --scripts
  • git aliases cd ~/.git-semantic-commits && ./install.sh

Tip: Installation script is idempotent and could be harmlessly executed multiple times. It adds bash scripts to the PATH in your ~/.bashrc or ~/.zshrc files or adds git aliases to the ~/.gitconfig file respectively (without any duplication).

  1. Commit away!

Usage

There are 8 new Git commands now.

New command -> what it does:

  • git feat "commit message here" -> git commit -m 'feat: commit message here'
  • git docs "commit message here" -> git commit -m 'docs: commit message here'
  • git chore "commit message here" -> git commit -m 'chore: commit message here'
  • git fix "commit message here" -> git commit -m 'fix: commit message here'
  • git refactor "commit message here" -> git commit -m 'refactor: commit message here'
  • git style "commit message here" -> git commit -m 'style: commit message here'
  • git test "commit message here" -> git commit -m 'test: commit message here'
  • git localize "commit message here" -> git commit -m 'localize: commit message here'

If you would like to add an optional scope, as described here, use the '-s' flag and quote the scope message:

  • git docs -s "scope here" "commit message here" -> git commit -m 'docs(scope here): commit message here'

If you would still like to use your text editor for your commit messages you can omit the message, and do your commit message in your editor.

  • git feat -> git commit -m 'feat: ' -e

Aliases for those who use git-extras (will be installed only if you have git-extras):

  • git rf "commit message here" -> git commit -m 'refactor: commit message here'
  • git ch "commit message here" -> git commit -m 'chore: commit message here'

How to contribute

Open a pull request/issue or fork this repo and submit your changes via a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].