This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # setup_git_worktree.sh | |
| # | |
| # Automates setting up a Git workspace using a bare clone and worktrees. | |
| # | |
| # Usage: | |
| # ./setup_git_worktree.sh <repository_url> [<destination_directory>] | |
| # | |
| # Arguments: | |
| # repository_url The remote Git URL to clone (e.g., git@github.com:user/repo.git) |