ppush is a lightweight Python automation script designed to streamline your Git workflow. Stop typing three commands repeatedly—do it all with one
- Auto Git Init: If no
.gitfolder is detected, the script offers to initialize it and link it to a GitHub URL immediately - Smart Commits: Supports commit messages via arguments (
ppush "message") or interactive input - Visual Feedback: Clean, colored status indicators (
[Success],[Error],[Info]) for better readability - Auto-branching: Automatically detects the current active branch and pushes directly to it
- Remote Origin Check: Even if the
.gitfolder already exists (e.g. after a manualgit init), the script will automatically check if it has aremote originset.- If it is missing, it will prompt you to enter it.
- It will automatically set the branch to
mainand link it to GitHub.
- Clone this repo
- Run the provided installation bash script:
chmod +x ppush_setup.sh ./ppush_setup.sh
Standard push with interactive commit message.
Shows a list of commands
Fetch new version from this github repo. if there are any problems with the path:
Shows current version of ppush.
- Python 3.11 or higher
coloramalibrary- Have installed
giton your system
