Skip to content

botverse/gitfuncs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

gitfuncs

Some command shorteners for Git

Install like this:

cd ~ && git clone [email protected]:botverse/gitfuncs.git .gitfuncs
echo "source .gitfuncs/gitutils.sh" >> .bash_profile

gc

$ gc This is my comment 
=> git commit -a -m "This is my comment"

gp

$ gp
=> git push origin [CURRENT_BRANCH]

ga

$ ga
=> git add . 

gac

$ gac This is my comment
=> ga && gc This is my comment

gb

$ gb branch-name
# if branch exist
=> git checkout branch-name
# if branch doesnt exist will ask for confirm
=> git checkout -b branch-name

About

Some command shorteners for Git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages