- Better than a shell alias because it scans your current repository, intelligently finding git remotes and branches.
- Doesn't require any runtime installed on the remote system.
- Dead simple to install and use.
curl -L https://github.com/weeklyhack/1-ph/raw/master/compiled/ph-$(uname -s)-$(uname -p) > ph && chmod +x ph && sudo cp ph /usr/local/bin/ph
Then, run ph help
.
Every day, I push code with git at least 50 times. Usually, I run something
like git push origin master
, a full 22 characters. There had to be a more
efficient way to push code. Am I lazy? Maybe. But, efficiency matters.
I tried some fancy shell aliases, and while they
were ok they never really worked quite right for my needs. I figured this
would be a perfect opportunity to write a solution.