Skip to content

bullgit/git-roulette

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

git-roulette

Make your git workflow a little less boring.

What's life without a little risk?

git roulette is just like git commit -m, but with a twist : once in a while, it'll blow up in your face and do something silly.

git-roulette will not boost your productivity. But hey, maybe it's a good way to learn how to fix git related issues.

It's less dangerous than Russian roulette though:

  • You'll always get a warning message.
  • The silly things git-roulette does can always be fixed easily (if you know your way around git).
  • It won't affect any of your collaborators (unless you push carelessly).

Usage

$ git add .
$ git roulette "A super descriptive commit message"
$ git push # If you're lucky

Installing

Just put the git-roulette script somewhere your $PATH can see it.

This would be a simple way to do it:

git clone git@github.com:victormours/git-roulette.git
cp git-roulette/git-roulette /bin/git-roulette # you may need to sudo

LICENSE

Good old MIT license.

Contributing

Eh, I'm not so sure there's much to add. But you can always fork and send a pull request.

TODO:

  • Obligatory "How git-roulette uses git-roulette to develop git-roulette" conference talk
  • git-roulette --hint to give advice on how to fix things
  • git-poker?
  • fix intermittent bug that crashes the whole system and removes the whole repo on all remotes once in a while

About

Less dangerous than Russian roulette, more fun than git (less NSFW than chatroulette)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages