Skip to main content

Collection of Git helper Bash scripts

Project description

Git Autopilot for a Primitive Git Flow

DevOps By Rultor.com We recommend RubyMine

rake PDD status Hits-of-Code License

If all you need to do with Git is making branches, pushing, and syncing, this collection of command-line commands may simplify your workflow. Well, it simplifies mine, a hundred times per day.

First, install Python3, Git, pip, gh, and Bash. Then:

pip install gitted

Then, in order to make a contribution to a GitHub repo, assuming you've a made a fork already and cloned it (in the command line):

  1. Start a branch, to resolve issue no. 42 (for example):
branch 42
  1. Write some code and then add+commit it (no push):
commit
  1. Write some code and then add+commit+push it:
push
  1. Pull recent changes from the master of the uplink:
pull

Don't forget to define OPENAI_API_KEY environment variable with the OpenAI key. Also, don't forget to authenticate with gh auth.

Conventions

In order to work smoothly, you have to respect a few conventions:

  • Branch names are always integers, equal to GitHub issue numbers
  • The main branch is master
  • All commits are GPG-signed (how?)
  • The origin is the fork, while the upstream is the main repo (why?)

Maybe in future versions we make it configurable. However, at the moment, that's what we have.

How to Contribute

Install GNU make and uv. Then, run:

make

Should build. If it doesn't, submit a bug report.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitted-0.0.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitted-0.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file gitted-0.0.2.tar.gz.

File metadata

  • Download URL: gitted-0.0.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for gitted-0.0.2.tar.gz
Algorithm Hash digest
SHA256 058932e21e7b7d1f854e8b4f101f639d323c0d235f55e589a8a250e20e5f2233
MD5 af655bb678f6a4283220ecb773162a25
BLAKE2b-256 5ea21a967ac332f795a43283c659fae065d271427383c7492c07a6970da3ff2b

See more details on using hashes here.

File details

Details for the file gitted-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gitted-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for gitted-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f326fe92475f096614f2e8fcc2c5b9ab3825187201cedd1c29a3a417547b44
MD5 aedd3d5c181414312ee208410a0f3c24
BLAKE2b-256 00d8adeefc67157362edb30dfe7cfb4955f2b9e77240514e12bb310df28f1be2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page