Skip to content

lullaby6/git-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

GitPush

A fast method to push!

Installation (Windows)

Manual

Download and move the .exe file into "C:\Windows"

Power Shell

powershell -ExecutionPolicy Bypass -c "iwr https://rawcdn.githack.com/lullaby6/GitPush/c06744356cd2f8b57c542ed845894951de3354d5/i.ps1 -UseBasicParsing | iex"

Usage

On your shell:

gp -c 'first commit!' -b master

If no branch is specified:

gp -c 'quick update'

This will execute a simple git push without specifying a branch.

To set the upstream flag:

gp -c 'initial commit' -b master -u

This will execute git push -u origin master.

Options

  -h, --help            show this help message and exit
  --commit COMMIT, -c COMMIT
                        Commit message (default: "commit")
  --branch BRANCH, -b BRANCH
                        Branch name (if not specified, only "git push" is executed)
  --upstream, -u        Set upstream flag

About

Python CLI App - git add, commit and push in a same command! "gp -c 'first commit!'"

Topics

Resources

Stars

Watchers

Forks

Contributors