All Projects → synek → Git Plan

synek / Git Plan

Licence: mit
Git Plan - a better workflow for git

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Git Plan

N8n
Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services.
Stars: ✭ 19,252 (+43654.55%)
Mutual labels:  cli, workflow
Fbi
Node.js workflow tool
Stars: ✭ 74 (+68.18%)
Mutual labels:  cli, workflow
Pipedream
Connect APIs, remarkably fast. Free for developers.
Stars: ✭ 2,068 (+4600%)
Mutual labels:  cli, workflow
Corgi
Corgi is a command-line workflow manager that helps with your repetitive command usages by organizing them into reusable snippet
Stars: ✭ 365 (+729.55%)
Mutual labels:  cli, workflow
Ipt
Interactive Pipe To: The Node.js cli interactive workflow
Stars: ✭ 783 (+1679.55%)
Mutual labels:  cli, workflow
Feflow
🚀 A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (+2040.91%)
Mutual labels:  cli, workflow
Ntl
Node Task List: Interactive cli to list and run package.json scripts
Stars: ✭ 800 (+1718.18%)
Mutual labels:  cli, workflow
Fugitive
Simple command line tool to make git more intuitive, along with useful GitHub addons.
Stars: ✭ 20 (-54.55%)
Mutual labels:  cli, workflow
Termux Mpv
Wrapper for Mpv on Termux. Displays play controls in the notification
Stars: ✭ 43 (-2.27%)
Mutual labels:  cli
Nls
Missing inspector for npm packages.
Stars: ✭ 44 (+0%)
Mutual labels:  cli
Shark Cleaner
A cleaning tool to help you quickly clear cache garbage.
Stars: ✭ 43 (-2.27%)
Mutual labels:  cli
Addic7ed Ruby
Ruby script to fetch subtitles on Addic7ed (auto-downloader)
Stars: ✭ 43 (-2.27%)
Mutual labels:  cli
Be Course 17 18
🎓 Backend · 2017-2018 · Curriculum and Syllabus 💾
Stars: ✭ 44 (+0%)
Mutual labels:  cli
Scout
Friendly fuzzy finder made in rust
Stars: ✭ 43 (-2.27%)
Mutual labels:  cli
Bookmenu
Browse and download ebooks from your terminal.
Stars: ✭ 45 (+2.27%)
Mutual labels:  cli
Osm Meta Util
Utility for downloading and processing OSM metadata
Stars: ✭ 42 (-4.55%)
Mutual labels:  cli
Ios Triage
incident response tool for iOS devices
Stars: ✭ 42 (-4.55%)
Mutual labels:  cli
Pdfsave
Convert websites into readable PDFs
Stars: ✭ 46 (+4.55%)
Mutual labels:  cli
Grunt Frontend Workflow
Structured, modular and test-driven front-end development and build workflow with Grunt task runner. Includes boilerplate code for Backbone with single/multipage RequireJS setup, and a RESTful API for prototyping.
Stars: ✭ 44 (+0%)
Mutual labels:  workflow
React Cli
a react renderer for the command line
Stars: ✭ 44 (+0%)
Mutual labels:  cli

git plan

A better workflow for git.

Git plan inverts the git workflow so that you can write your commit message first, before you start writing code. This makes it easier to plan your work and stay on-track.

To use the tool, run git plan init (or simply gp [command]) to initialize, and then git plan add to plan a new commit. Then when you have finished writing the code, use git plan commit to use the plan as a template for your commit message.

This tool is in early alpha stage, so be careful and please make an issue or let me know if anything breaks.

Installation

python3.8 is required for now.

  1. git clone https://github.com/synek/git-plan
  2. cd git-plan
  3. make install

If you have trouble with the install, check what the Makefile is doing. Get in touch with me if you need help.

To uninstall, run make uninstall

Usage

  • git plan init - initialize git plan in the current .git/ directory
  • git plan [--long] - plan your first commit, or list existing plans
  • git plan help - show the help message
  • git plan list [--long] - list existing plans
  • git plan add - plan a new commit
  • git plan edit - edit an existing plan
  • git plan delete - delete an existing plan
  • git plan commit - commit one of your plans (launches git commit with your plan as a template)

Background

Here is an interesting blog post about pre-emptive commit comments.

Contributing

  • Download and try it out
  • Create an issue if you find a problem or want to discuss something
  • Fork the repository, fix a bug or add a feature, and open a PR

Development

  1. Install the dev requirements pip install -r requirements_dev.txt
  2. Install the package in develop mode pip install -e .
  3. Install the pre-commit hooks pre-commit install -t pre-commit and pre-commit install -t pre-push

Hooks

Failure on any of the hooks will prevent the action taking place.

Pre-Commit

  • pylint on changed source files
  • mypy on changed source files

Pre-Push

  • tox test suite runs
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].