Giter Site home page Giter Site logo

benst099 / firecommit Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 477 KB

Python-Script for generating commit-messages

License: GNU General Public License v3.0

Python 100.00%
git git-commit python3 script python python-3 efficiency group-project improvement standardization template prettytable commit-conventions py3 check-commit commit-template commits

firecommit's Introduction

🔥FireCommit


Static Badge Static Badge Static Badge Static Badge Static Badge

Features

Commandline-Tool

Platform-independent

Modifications possible

Description

In large projects it's important to use verbose and structured commit messages. This can be challenging when working in a big team with many developers. The provided script helps you with that.

Requirements

Installation

Download the source code (See latest releases) and unpack them. See Usage for starting the script.

Usage

First, choose the working directory (so where your project's .git-folder is located) by modifiying config.json. It's set to the directory where the script is in (./) by default.

NOTE: Under Windows, you have to escape the backslash (e.g. C:\\User\\Projects\\YourProject\\).

The script was tested on Windows and Linux (MacOS: Not Tested (Works on my machine 😉)). For starting the script, open a terminal / command prompt and type:

python FireCommit.py

or

python3 FireCommit.py

Documentation

For the full documentation, click here.

Known Issues

  1. Committing Without Adding

    • The script warns you if some files are unstaged but it doesn't include those files into the commit. You have to manually add them to the staging area.
  2. Unexpected Result When Running git log

    • When writing a verbose commit message, a compromise must be made regarding the readability of the git log.

    • If you run git log, you may see a large amount of text that would fill up pages.

    • Using git shortlog will not help:

Picture of a bad git shortlog

To search for single commits more easily, use

git log --pretty=format:"%cn committed %h on %cd with Topic: %f"

or similar modifications.

License

This project is licensed under GNU General Public License v3.0. Fore more information, click here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.