To delete all local branches that are already merged into the currently checked out branch:
git branch --merged | egrep -v "(^\*|master|main|dev)" | xargs git branch -d
Original answer: https://stackoverflow.com/a/6127884
shasum -a 512 /path/to/file
Original post: https://osxdaily.com/2022/05/08/how-to-check-sha512-checksum-on-mac/
Add min-width: 0;
to the overflowing item.
.overflowing {
min-width: 0;
}
Original answer: https://stackoverflow.com/a/66689926
git config user.email CORRECT_EMAIL
git rebase YOUR_SHA -x "git commit --amend --reset-author"
Original answer: https://stackoverflow.com/a/1320317
Fix semantic-release not detecting existing releases on prerelease channels when adding semantic-release to an existing repo
Follow this guide https://semantic-release.gitbook.io/semantic-release/support/troubleshooting#release-not-found-release-branch-after-git-push-force. Although its title does not resemble this specific problem but the machanism is the same.
Original answer: semantic-release/semantic-release#2238 (comment)
webpack-contrib/mini-css-extract-plugin#875 (comment)
(Guess this should not be in the cheatsheet but be in a personal knowledge base thing)
Upgrade your Jest to v28 and above that does not use the then-boken source-map
package.
Original comment: nodejs/node#42638 (comment)
Another workaround is adding NODE_OPTIONS=--no-experimental-fetch
environment variable.
(Guess this should not be in the personal knowledge base too)
Enable "Read and write permissions" in repo's Settings -> Actions -> General -> Workflow permissions.
The minimum required permissions of GITHUB_TOKEN by semantic-release:
contents
: write to be able to publish a GitHub releaseissues
: write to be able to comment on released issuespull-requests
: write to be able to comment on released pull requests
Reference:
Tool | Version |
---|---|
tsc | 4.9.0 |
esbuild | 0.15.13 |
gh repo create --source .
Original answer cli/cli#6981 (comment)
Run this
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer'
Original answer expo/expo#21727 (comment)
lsof -i tcp:3000
Original answer: https://stackoverflow.com/a/3855359/6840562