jsomers / git-game Goto Github PK
View Code? Open in Web Editor NEWThe git committer guessing game!
License: MIT License
The git committer guessing game!
License: MIT License
Trying this out in postgres.git and $SUBJECT happens as follows:
(12 years ago)
%B
Who wrote it (current streak: 0)?
Who wrote it (current streak: 2)? ~/bin/git-game:90:in `block in <main>': undefined method `strip' for nil:NilClass (NoMethodError)
from ~/bin/git-game:77:in `loop'
from ~/bin/git-game:77:in `<main>'
I have a repository where some authors show up multiple times. For example "John Doe" and "john.doe". This names should match, currently don't.
I'm probably missing something, but why not use .eql
when matching the guess and the author name at git-game:L95?
With .include
, guess a
would match author Andreas Broby
. Is that intended behaviour? I've made a pull request just in case it's not.
Can you please add "asshole" as answer of commentary if commit is empty. Because in our organization this is often problem
Something don't work in UTF-8 :
git-game:40:in `split': invalid byte sequence in UTF-8 (ArgumentError)
My co-worker doesn't know how to git config user.name
, so I've got triple entries for the same person. It really ruins the game.
https://stacktoheap.com/blog/2013/01/06/using-mailmap-to-fix-authors-list-in-git/
using --after.
I'll create a PR for this. Just making it so I can remember.
Only show the subject(%s
) instead of raw body(%B
) of the commit message
$ git log -2 --pretty=format:%B
Add gzip compression level in nginx.conf
Signed-off-by: John Doe <[email protected]>
$ git log -1 --pretty=format:%s
Remove redundant tag in tasks/nginx_Ubuntu.yml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.