diff options
| author | Christoph Schlosser <cschlosser@google.com> | 2025-06-17 07:35:56 +0000 |
|---|---|---|
| committer | Christoph Schlosser <cschlosser@google.com> | 2025-06-17 07:37:32 +0000 |
| commit | 2447bd4bd20d497e22d13e6f117ad62750e4484d (patch) | |
| tree | 6d142c243e800a13bac5a6488a3e067e417766a3 | |
| parent | ef613fcd38d3dce40e4942068b5cf1d33e00838f (diff) | |
| download | dots-2447bd4bd20d497e22d13e6f117ad62750e4484d.tar.gz | |
Add script to quickly change between branches
| -rwxr-xr-x | branch.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/branch.sh b/branch.sh new file mode 100755 index 0000000..ba17401 --- /dev/null +++ b/branch.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env fish + +git checkout $argv[1] +or exit 1 + +git submodule foreach "git checkout $argv[1]" +or exit 1 |