#til #git #github
curl -u amcclosky:<personal access token> https://api.github.com/repos/amcclosky/baseball/events
curl -u amcclosky:<personal access token> -X POST -d '{"ref":"refs/heads/recover-office-hours", "sha":"d460395af3337bc6b71fd19b154f831ecc6cfa01"}' https://api.github.com/repos/amcclosky/baseball/git/refs
github - How to recover from a git push -force? - Stack Overflow