Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add to FAQ setting it up globally for all repos #212

Closed
peterept opened this issue Jun 17, 2014 · 3 comments
Closed

Suggestion: Add to FAQ setting it up globally for all repos #212

peterept opened this issue Jun 17, 2014 · 3 comments
Assignees

Comments

@peterept
Copy link

Here's how I set it up using a git template to automatically use lolcommits when I git init or git clone:

after intalling lolcommits once into a repo, I copy the hook to a git template and set git to use it for any new gits

Note: To pull this into existing gits, run git init again in that root folder.

$ mkdir -p /.git_template/hooks
$ git config --global init.templatedir '
/.git_template'
$ cp .git/hooks/post-commit ~/.git_template/hooks/

@matthutchinson
Copy link
Member

I do this too, it seems to be a pretty standard way of applying global git hook templates. I'll assign this one to me to update the README and site.

Also, thanks for the massive text 😄

@peterept
Copy link
Author

Oops, sorry about that. it looked normal before I hit send. :/

matthutchinson added a commit that referenced this issue Sep 4, 2014
Also tidied line length in README and some wording
matthutchinson added a commit that referenced this issue Sep 4, 2014
…lates

Also cleaned up README format (within 80 char/line)
@matthutchinson
Copy link
Member

I've updated the README and added this link to wiki; https://github.com/mroth/lolcommits/wiki/Enabling-Lolcommits-for-all-your-Git-Repositories

Thanks again for the tip! 👍

This was referenced Sep 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants