Check the config.json
file configuration
Template:
{
"config":{
"log":"/mnt/c/Users/my/loglogfile.log"
},
"repos":[
{
"name": "Temp",
"directory": "/mnt/c/Users/my/repos/temp"
}
]
}
- config
- log: Directory for the log file
- repos
- name: Name for organization
- directory: Local repository
For Windows on Linux machine
# Inside `src` folder
GOOS=windows GOARCH=amd64 go build -o goautocommit.exe main.go
For the same machine
# Inside `src` folder
go build -o goautocommit main.go