https://github.com/ethomson/git-dad
Enjoy your typos
https://github.com/ethomson/git-dad
Last synced: about 1 year ago
JSON representation
Enjoy your typos
- Host: GitHub
- URL: https://github.com/ethomson/git-dad
- Owner: ethomson
- License: mit
- Created: 2017-06-18T20:14:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T13:41:15.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T12:59:30.590Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 25
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
git-dad: enjoy your typos
=======
`git-dad` allows you to recover when you've accidentally mistyped `git add`,
and instead typed `git dad`. Normally, Git will tell you that you've made
a mistake:
```
% git dad foo.c
git: 'dad' is not a git command. See 'git --help'.
```
But with `git-dad`, your file will still be added to the index. Though not
without a bit of punishment for your typo:
```
% git dad foo.c
What do you call corn that joins the army? Kernel.
% git status --short
A foo.c
```
That's right, you get a dad joke!
All you have to do is put `git-dad` in your path to enjoy the puns:
```
% git dad bar.c
Why do bears have hairy coats? Fur protection.
```
Brilliant!