Skip to content

Antoine-Meloche/PyCommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCommit

A simple CLI utility to create uniform commits.

Py Commit Logo Py Commit Logo

Table of Contents

Usage

Track/stage changes in working directory

PyCommit equivalent to 'git add .' to add all untracked files or unstaged changes to the current commit.

pycommit add

or

pycommit a

Commit staged changes

PyCommit equivalent to 'git commit -m "Title" -m "Message"' to commit the staged changes to the current repository (local only).

pycommit commit

or

pycommit c

Push commit to remote

PyCommit equivalent to 'git push -u "remote" "branch"' to push the commit to a remote.

pycommit push

or

pycommit p

All in one

PyCommit equivalent to 'git add . && git commit -m "Title" -m "Message" && git push -u "remote" "branch"'

pycommit

Changing path of repo

PyCommit command argument '-p' is used to load a repo that is not in the current running directory.

pycommit -p /path/to/repo

Installation

Install from releases

Linux release

Available packages:

Packaging type status
AUR
Fedora (rpm)
Flatpak
AppImage
Snap

For more information visit the Linux Releases Wiki Page

Pip release

python -m pip install gitpython PyCommit

Install from source

Refer to the Install from source section in the wiki.