Skip to content

Instantly share code, notes, and snippets.

View NthPortal's full-sized avatar

Marissa | April NthPortal

View GitHub Profile
@NthPortal
NthPortal / git-bt
Created January 4, 2022 19:50
git scripts
#!/bin/bash
[ $# != 1 ] && echo "expects exactly one arg" && exit 1
if branch_name=$(git symbolic-ref --short -q HEAD) ; then
new_end="$1"
branch_name="${branch_name%/*}/$new_end"
git checkout -b "$branch_name"
else
echo "not on any branch" && exit 1
@NthPortal
NthPortal / proof.md
Created March 7, 2024 01:37
Keyoxide proof

aspe:keyoxide.org:O6EPBCN4MXZQBGKHCP5QA3S53Q