Socket
Book a DemoInstallSign in
Socket

gitbuddy

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbuddy

The best git friend you've ever had.

Source
npmnpm
Version
2.9.5
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

GitBuddy - Your Best Git Friend

GitBuddy is an interactive CLI that provides simple prompts for common git commands. Prompts make it easy to stage a select groups of files, to help build good git habits, or break bad ones. Shorthand options allow you to easily skip through steps. And it returns clean, semantic responses throughout the process.

Installation

To get started, run:

npm install -g gitbuddy

Commands

For the full prompt process:

gitbuddy

Step 1/3: Lists all available modified and untracked files to select from. Select one or multiple.

Step 2/3: Simply type your commit message.

Step 3/3: Confirm whether you want to push your changes to your remote repository or not. GitBuddy even identifies and pushes upstream if your branch doesn't exist in the remote repository yet!

Options/Flags

To stage all files (and skip to the commit message prompt), use the -a or -A flag:

gitbuddy -a

To push to your remote repository by default (skipping the last prompt), use the -p flag:

gitbuddy -p

To add your commit message (and skip the commit message prompt):

gitbuddy "Your commit message"

Mix and match options (ex: add your commit message and -p, and you will only be prompted to select files to stage. GitBuddy does the rest):

gitbuddy -p "Your commit message"

Or chain the options together (in no particular order) to run it all in one command:

gitbuddy -a -p "Your commit message"

Keywords

git

FAQs

Package last updated on 18 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts