Created
March 12, 2014 02:57
-
-
Save hiono/9499955 to your computer and use it in GitHub Desktop.
gitで自分用テンプレートを使う ref: http://qiita.com/highfrontier/items/43831e0d8fa490fc26ee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree $HOME/work/.git_template | |
/home/XXX/work/.git_template | |
-- hooks | |
-- post-flow-release-finish | |
`-- post-flow-release-start | |
`-- info | |
`-- exclude | |
2 directories, 3 files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/tmp$ rm -rf test | |
/tmp$ mkdir test | |
/tmp$ cd test | |
/tmp/test$ touch a | |
/tmp/test$ git init --template=$HOME/work/.git_template | |
Initialized empty Git repository in /tmp/test/.git/ | |
/tmp/test$ tree . .git | |
. | |
`-- a | |
.git | |
-- HEAD | |
-- config | |
-- hooks | |
-- post-flow-release-finish | |
`-- post-flow-release-start | |
-- info | |
`-- exclude | |
-- objects | |
-- info | |
`-- pack | |
`-- refs | |
-- heads | |
`-- tags | |
8 directories, 6 files | |
/tmp/test$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment