Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ;)
- Host: GitHub
- URL: https://github.com/daggerok/justcommit
- Owner: daggerok
- License: mit
- Created: 2021-04-14T10:05:33.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T01:22:46.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T15:39:12.774Z (3 months ago)
- Topics: bash, curl, git, justcommit, zsh
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)