/cleanup-git
After merging a PR, this command finds the most recently merged branch using the GitHub CLI, confirms with the user, then checks out main, pulls with prune, and deletes the merged branch.
On gradient.style, state is stored in the URL. Using this to have a closer look and borrow ideas.
https://gradient.style/#type=linear&space=oklab&linear_named_angle=to+right&linear_angle=90&stops=%7B%22kind%22%3A%22stop%22%2C%22color%22%3A%22oklch%2870%25+0.5+340%29%22%2C%22auto%22%3A%220%22%2C%22position1%22%3A%220%22%2C%22position2%22%3A%220%22%7D&stops=%7B%22kind%22%3A%22hint%22%2C%22auto%22%3A%2250%22%2C%22percentage%22%3A%2250%22%7D&stops=%7B%22kind%22%3A%22stop%22%2C%22color%22%3A%22oklch%2890%25+0.5+200%29%22%2C%22auto%22%3A%22100%22%2C%22position1%22%3A%22100%22%2C%22position2%22%3A%22100%22%7D
{
"ancestorOrigins": {},
"href": "https://gradient.style/#type=linear&space=oklab&linear_named_angle=to+right&linear_angle=90&stops=%7B%22kind%22%3A%22stop%22%2C%22color%22%3A%22oklch%2870%25+0.5+340%29%22%2C%22auto%22%3A%220%22%2C%22position1%22%3A%220%22%2C%22position2%22%3A%220%22%7D&stops=%7B%22kind%22%3A%22hint%22%2C%22auto%22%3A%2250%22%2C%22percentage%22%3A%2250%22%7D&stops=%7B%22ki
git remote set-url origin [email protected]:Vergil-Inc/app-web.git
git push -u origin master
main branch in GH UI| const CATCH_ALL_ERR_MSG = | |
| "We weren’t able to determine what the error was based on the server response."; | |
| /** | |
| * window.fetch does not throw an error for common HTTP errors; 404, 503, etc. | |
| * Here we check its `ok` key to determine if there's n HTTP error. | |
| * If so, throw an error so any users can `catch`. | |
| * | |
| * @param {Object} res - A Response object from fetch | |
| */ |
TL;DR: Uninstall the homebrew version of cocoapods, use the gem version instead
Error message was:
/usr/local/bin/pod: /usr/local/Cellar/cocoapods/1.8.4/libexec/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/pod: line 2: /usr/local/Cellar/cocoapods/1.8.4/libexec/bin/pod: Undefined error: 0