forked from x/icebergs
add some
This commit is contained in:
parent
5f6cb250a1
commit
b5f1c75ddc
@ -377,6 +377,7 @@ const (
|
|||||||
REMOTE = "remote"
|
REMOTE = "remote"
|
||||||
ORIGIN = "origin"
|
ORIGIN = "origin"
|
||||||
CONFIG = "config"
|
CONFIG = "config"
|
||||||
|
IGNORE = "ignore"
|
||||||
INDEX = "index"
|
INDEX = "index"
|
||||||
TAGS = "tags"
|
TAGS = "tags"
|
||||||
VERSION = "version"
|
VERSION = "version"
|
||||||
@ -440,6 +441,7 @@ func init() {
|
|||||||
}},
|
}},
|
||||||
INIT: {Name: "init origin* path", Hand: func(m *ice.Message, arg ...string) {
|
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(".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)
|
git.PlainInit(m.Option(nfs.PATH), false)
|
||||||
_repos_insert(m, kit.Path(""))
|
_repos_insert(m, kit.Path(""))
|
||||||
m.ProcessRefresh()
|
m.ProcessRefresh()
|
||||||
|
@ -18,8 +18,8 @@ lex
|
|||||||
node
|
node
|
||||||
java
|
java
|
||||||
coder
|
coder
|
||||||
chrome
|
|
||||||
github
|
github
|
||||||
|
chrome
|
||||||
wework
|
wework
|
||||||
lark
|
lark
|
||||||
mp
|
mp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user