Can I update/reset my git repository through the API?

Knowledge Drop

Last Tested: Nov 26, 2019

Yes, using the update_project endpoint, but you must be in Development mode!

Note: If configuring a bare repo using the API, docs may say Call update_project setting git_remote_url to nil...

But in that case the call to update_project should actually set git_remote_url=null

This content is subject to limited support.                

Version history
Last update:
‎04-05-2021 03:32 PM
Updated by: