add: push changes to gitea server after merging local changes
This implementation has no configuration yet to authorize accordingly. WIP for #3 and #4.
This commit is contained in:
@@ -29,6 +29,12 @@ func main() {
|
||||
os.Exit(-1)
|
||||
}
|
||||
|
||||
fmt.Printf("Push changes to %s\n", repository.Full_name)
|
||||
if err = project.Push(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
os.Exit(-1)
|
||||
}
|
||||
|
||||
// NOTE: this can be used to add / modify tasks
|
||||
// var update_tasks []taskwarrior.Task
|
||||
// task := taskwarrior.NewTask(
|
||||
|
||||
Reference in New Issue
Block a user