Skip to content

pmirandaarias/gac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

gac

git add and commit script.

Description

A single line git command for to do:

  1. git add filename

  2. git commit -m "a commit description"

Instructions

  1. Create the sh file where you want.

  2. Create an alias on your bash for use gac command on the created script, example:

echo 'alias gac="/home/your_user/gitscripts/gac.sh"' >> ~/.bashrc

or

echo 'alias gac="/home/your_user/gitscripts/gac.sh"' >> ~/.zshrc

  1. give permissions to this file:

chmod +x gac.sh

Usage

gac filename "a commit comment"

About

git add and commit script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages