1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-10-17 16:19:12 +08:00
parent 5f6cb250a1
commit b5f1c75ddc
2 changed files with 3 additions and 1 deletions

View File

@ -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()

View File

@ -18,8 +18,8 @@ lex
node
java
coder
chrome
github
chrome
wework
lark
mp