Git Worktree

Git Worktree puts branches into subdirectories, allowing us to work on multiple branches at the same time.

mkdir nixpkgs
git clone --bare [email protected]:ners/nixpkgs .bare
echo "gitdir: ./.bare" > .git
git remote add upstream [email protected]:nixos/nixpkgs