https://github.com/eddieantonio/git-template-dir
A template directory with useful git hooks!
https://github.com/eddieantonio/git-template-dir
git hooks template-dir
Last synced: about 2 months ago
JSON representation
A template directory with useful git hooks!
- Host: GitHub
- URL: https://github.com/eddieantonio/git-template-dir
- Owner: eddieantonio
- Created: 2020-08-21T16:20:02.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-08-21T16:31:34.000Z (almost 6 years ago)
- Last Synced: 2025-03-13T19:16:46.494Z (over 1 year ago)
- Topics: git, hooks, template-dir
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
git template dir
================
This is a [template directory][template] for new (and existing) git
repositories.
Features
--------
- default branch is named `main`
- build ctags after commits, merges, and checkouts ([thanks @tpope][ctags])
- default exclude patterns (`.gitignore`) for development on macOS
Install
-------
Clone this... somewhere. Some places include `~/.git_template`:
git clone https://github.com/eddieantonio/git-template-dir.git ~/.git_template
Then configure it as your template directory:
git config --global init.templatedir '~/.git_template/template'
[template]: https://git-scm.com/docs/git-init/2.2.3#_template_directory
[ctags]: https://tbaggery.com/2011/08/08/effortless-ctags-with-git.html