cURL
curl --request POST \ --url http://localhost:3000/api/v1/git/push \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "remote": "origin", "branch": "<string>", "force": false } '
{ "success": true, "data": {} }
Push commits to remote repository
Session cookie authentication
Remote name
Branch name
Force push
Push successful