Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/justcommit

Commits with http://whatthecommit.com just for fun ;)
https://github.com/daggerok/justcommit

bash curl git justcommit zsh

Last synced: 27 days ago
JSON representation

Commits with http://whatthecommit.com just for fun ;)

Awesome Lists containing this project

README

        

# just commit

## installation

requires curl

```bash
brew reinstall curl
echo 'function justcommit() {
if [[ -z "$1" ]] ; then
joke="$(curl -s https://whatthecommit.com/index.txt)"
git commit -am "${joke} (C) whatthecommit.com"
else
git commit -am "$1"
fi
}' >> ~/.bash_profile # or ~/.zshrc
source ~/.bash_profile # or ~/.zshrc
```

## usage

```bash
git add .
justcommit
git psuh
```

## links

* [GitHub ngerakines/commitment](https://github.com/ngerakines/commitment)