fix
This commit is contained in:
parent
53f7f3a859
commit
670c5b1466
2
git.go
2
git.go
@ -65,7 +65,7 @@ func (g *git) SetUpstreamOrigin(origin string) *define.Result {
|
||||
// Date : 20:24 2022/6/14
|
||||
func (g *git) Add(fileList ...string) *define.Result {
|
||||
if len(fileList) == 0 {
|
||||
fileList = []string{"*"}
|
||||
fileList = []string{"."}
|
||||
}
|
||||
param := []string{"add"}
|
||||
for _, item := range fileList {
|
||||
|
Loading…
Reference in New Issue
Block a user