Clean your whole repo and all the code that's in it with a simple click of a button.
Git Clean automates code clean up across your Github repos. With a simple click of a button, enforce a set of code standards across a whole repo. No longer is hard to read code a reason to not contribute to a project, with Git Clean it is as easy as fork, clean, submit.
express ejs passport-github passport node-uuid js-beautify mime winston github-api level
Voting is now closed.
Ah. Yes. One of our goals (down the road) is to have
Git Clean add a clean.conf file to your repo which will force the process to use your rules because a formatting war is not what we want.
No new lines on the end? I'll have to go test that and see whats up with js-beautify. Thanks for voting.
Thanks for the vote!
We haven't implemented private repos yet, but if you fork a project to your account it will show up. Here is one of mine that needs some style love (and coding help!)
Have you tried cleaning up one of your repos? I haven't seen a project from your user come through.
Man, I need to make this clearer on the site.
We don't touch your repo, we fork it. So go ahead and test it! When you do a pull request will be issued from our fork to your project. If you don't like the changes, reject it.
Here is an example if you want to confirm what I've said above: https://github.com/NHQ/oscillators/pull/1
We talked about it, but recreating travis seemed a bit out of scope and I figured js-beautify wouldn't break things. What changed that broke your tests?
none, i was only make jokes!
I haven't looked into the comment beautification much. Sadly I spent most of the time working on the github/git process and didn't look over what js-beautify (the lib were using) does its "magic".
Linus Torvalds as Mr. Clean didn't make up for the over use of bootstrap?
That did git me a bit of a chuckle, didn't know Linus lifts.
He does. He is also really into tanning. Got sick of being called a pale programming nerd.
I think we will. What other features would you like to see?
Do you guys do it for each commit?
Like via webhooks? When you push a commit, we check that all the code is clean? This would be possible. We'd probs want to do it once a day or something so there aren't 1000s of pull requests on your project.
We fork the repo to our own org and than issue a "clean" request against yours so if anything goes wrong on our side it doesn't affect you and if you don't like the changes, ignoring them is as simple as denying the request.
Here is an example "clean" request. https://github.com/NHQ/oscillators/pull/1