Something went wrong. Try again.
Configuration for my NixOS based systems and Home Manager
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637#!/usr/bin/env rcflag e +current_ref=`{ git symbolic-ref --short -q HEAD \ || git describe --tags --exact-match >[2]/dev/null \ || git rev-parse --short HEAD}root=`{git rev-parse --show-toplevel}fn log { echo $"* >[1=2] #"}log Preserving current symbolic ref to return to later: $current_refrev_range=$1shiftrevlist=`{git rev-list $rev_range --reverse}for (rev in $revlist) { echo Checking out $rev # Checkout the ref git checkout $rev # Execute the argument for (command in $*) { eval $command } git restore $root}log Done!git checkout $current_ref