Skip to content

A tool that scans local git repositories and checks for uncommitted changes or unpushed commits. This ensures developers don't forget about incomplete work or changes that haven't been pushed.

Notifications You must be signed in to change notification settings

Bostigger/pushpal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PushPal

PushPal is a lightweight CLI tool and Go package that scans for uncommitted and unpushed changes in a local Git repository. It also helps streamline your Git workflow by offering to automatically add frequently ignorable paths (like .idea/ and .vscode/) to your .gitignore file.

Demo

Pushpal.Demo.Vid.mp4

Features

  • Detect uncommitted changes in the active directory
  • Identify unpushed commits in the current directory
  • Suggest adding often ignored paths to .gitignore if they contain changes

Installation

Downloading the Binary:

Download the suitable binary for your operating system.

Setup:

Linux/macOS: Place the binary in /usr/local/bin or another directory present in your PATH.

mv pushpal_linux_amd64 /usr/local/bin/pushpal

Windows:

Add the directory containing the .exe file to the system environment PATH or move the .exe to a directory where you want to execute the pushpal command.

Building from Source:

Clone the repository:

git clone https://github.com/bostigger/pushpal.git

Navigate to the cloned directory:

cd pushpal

go build

This will generate the pushpal binary which you can then move to your desired location.

Usage

After installation, navigate to your target Git repository and execute:

pushpal

PushPal will analyze the directory for any uncommitted or unpushed changes. Should it find uncommitted changes in frequently ignored directories, it'll offer to add them to your .gitignore. Dependencies

PushPal utilizes the git package to identify uncommitted and unpushed changes. Make sure this package is in your Go workspace. Contributing

We value your contributions! Feel free to open an issue or submit a pull request on our GitHub repository. License

License

Copyright © Peter Blay

pushpal is open-sourced software licensed under the MIT license.

About

A tool that scans local git repositories and checks for uncommitted changes or unpushed commits. This ensures developers don't forget about incomplete work or changes that haven't been pushed.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages