From ad781212cb2387ca12226ba859c3767162f38dce Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Thu, 2 Jan 2025 01:25:50 -0600 Subject: [PATCH] remove script from readme --- readme.md | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/readme.md b/readme.md index b869e0d..0a625d7 100644 --- a/readme.md +++ b/readme.md @@ -4,39 +4,6 @@ -## Setup local dev - -* Get modules in the same directory for ease of development -```sh -#!/bin/bash - -# Get all local and remote mod_* branches, removing lines with '+' -branches=$(git branch -a | grep -E 'mod_' | grep -v '^\s*+' | sed 's/^[* ]*//; s/^remotes\/origin\///') - -# Remove duplicates and sort -branches=$(echo "$branches" | sort -u) - -for branch in $branches; do - # Skip master or other non-mod branches - if [[ ! "$branch" =~ ^mod_ ]]; then - continue - fi - - # Derive module name (remove mod_ prefix) - module_name="${branch#mod_}" - module_path="modules/$module_name" - - # Check if worktree already exists - if [ ! -d "$module_path" ]; then - echo "Adding worktree for $branch in $module_path" - git worktree add "$module_path" "$branch" 2>/dev/null - else - echo "Worktree for $branch already exists" - fi -done - -``` - # First Install on new Machine ## NixOS install