Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertzk/send.zsh
A zsh plugin for a command to pull, git add all files, commit, and push -- all in one command
https://github.com/robertzk/send.zsh
Last synced: about 1 month ago
JSON representation
A zsh plugin for a command to pull, git add all files, commit, and push -- all in one command
- Host: GitHub
- URL: https://github.com/robertzk/send.zsh
- Owner: robertzk
- Created: 2014-09-21T06:45:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-02T11:40:44.000Z (over 5 years ago)
- Last Synced: 2024-01-25T13:04:27.817Z (4 months ago)
- Language: Shell
- Size: 198 KB
- Stars: 29
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - send - Single command to `git add`, `git commit`, and `git push` for much faster `git` workflow. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - send - Single command to `git add`, `git commit`, and `git push` for much faster `git` workflow. (Plugins / Zinit (née zplugin))
- fucking-awesome-zsh-plugins - send - Single command to `git add`, `git commit`, and `git push` for much faster `git` workflow. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - send - Single command to `git add`, `git commit`, and `git push` for much faster `git` workflow. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - send - Single command to `git add`, `git commit`, and `git push` for much faster `git` workflow. (Plugins / ZSH on Windows)
README
# ZSH send plugin
The following zsh plugin enables a really useful git shortcut:
```bash
send 'my first commit'
```will get translated to
```bash
git add (everything in current git repository)
git commit -m 'my first commit'
git pull origin (the current git branch)
git push origin (the current git branch)
```That is, by writing `send`, we are able to add our changes, submit a commit,
pull from upstream (by default, the remote `origin`) and then push upstream.
Frequently, developers write out this workflow in full hundreds of times a
day, so this is a useful time-saving technique.## Installation
### [Antigen](github.com/zsh-users/antigen)
If you're using [Antigen](github.com/zsh-users/antigen), just add `antigen bundle robertzk/send.zsh`
to your `.zshrc` file where you're loading your other zsh plugins.### Oh-My-Zsh
If you're using [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh), you can do:
1. `git clone [email protected]:robertzk/send.zsh.git ~/.oh-my-zsh/custom/plugins/send`
2. `echo "plugins+=(send)" >> ~/.zshrc`(Alternatively, you can add the `send` plugin to the `plugins=(...)` local in your `~/.zshrc` manually.)
### [Zgen](tarjoilija/zgen)
If you're using [Zgen](tarjoilija/zgen), add `zgen load robertzk/send.zsh`
to your `.zshrc` file where you're loading your other zsh plugins.### Bash users
If you use the non-recommended alternative, bash, you can install this directly to your `~/.bash_profile`:
```bash
curl -s https://raw.githubusercontent.com/robertzk/send.zsh/master/send.plugin.zsh >> ~/.bash_profile
```