https://github.com/lullaby6/gitpush
Python CLI App - git add, commit and push in a same command! "gp -c 'first commit!'"
https://github.com/lullaby6/gitpush
git python
Last synced: over 1 year ago
JSON representation
Python CLI App - git add, commit and push in a same command! "gp -c 'first commit!'"
- Host: GitHub
- URL: https://github.com/lullaby6/gitpush
- Owner: lullaby6
- Created: 2022-12-14T05:03:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T04:51:46.000Z (over 1 year ago)
- Last Synced: 2025-01-25T13:25:20.086Z (over 1 year ago)
- Topics: git, python
- Language: Python
- Homepage:
- Size: 6.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitPush
A fast method to push!
## Installation (Windows)
#### Manual
[Download](https://github.com/lullaby6/GitPush/releases/download/v1.0.2/gp.exe) and move the .exe file into "C:\Windows"
#### Power Shell
```bash
powershell -c "irm https://rawcdn.githack.com/lullaby6/GitPush/c06744356cd2f8b57c542ed845894951de3354d5/i.ps1 | iex"
```
## Usage
On your shell:
```bash
gp -c 'first commit!' -b master
```
If no branch is specified:
```bash
gp -c 'quick update'
```
This will execute a simple `git push` without specifying a branch.
To set the upstream flag:
```bash
gp -c 'initial commit' -b master -u
```
This will execute `git push -u origin master`.
### Options
```bash
-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
```