Skip to content

Instantly share code, notes, and snippets.

View ThiagoBfim's full-sized avatar

Thiago ThiagoBfim

View GitHub Profile
@ThiagoBfim
ThiagoBfim / gist:c0ec2b5d6c77a4c7ad25c09e8d7b46c3
Created December 21, 2023 09:51
Delete local GIT branches that were deleted on remote repository
git branch -vv | grep ': gone]'| grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -d
openssl genrsa 2048 > private.pem
openssl req -x509 -new -key private.pem -out public.pem
openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx