diff --git a/misc/git/repos.go b/misc/git/repos.go index 2b14458a..ff1af97c 100644 --- a/misc/git/repos.go +++ b/misc/git/repos.go @@ -377,6 +377,7 @@ const ( REMOTE = "remote" ORIGIN = "origin" CONFIG = "config" + IGNORE = "ignore" INDEX = "index" TAGS = "tags" VERSION = "version" @@ -440,6 +441,7 @@ func init() { }}, INIT: {Name: "init origin* path", Hand: func(m *ice.Message, arg ...string) { m.Cmd(nfs.DEFS, kit.Path(".git/config"), kit.Format(nfs.Template(m, CONFIG), m.Option(ORIGIN))) + m.Cmd(nfs.DEFS, kit.Path(".gitignore"), nfs.Template(m, IGNORE)) git.PlainInit(m.Option(nfs.PATH), false) _repos_insert(m, kit.Path("")) m.ProcessRefresh() diff --git a/misc/misc.shy b/misc/misc.shy index 410ea80e..fecad734 100644 --- a/misc/misc.shy +++ b/misc/misc.shy @@ -18,8 +18,8 @@ lex node java coder -chrome github +chrome wework lark mp