diff options
Diffstat (limited to '.github/workflows/setup_git.ps1')
-rw-r--r-- | .github/workflows/setup_git.ps1 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/setup_git.ps1 b/.github/workflows/setup_git.ps1 new file mode 100644 index 0000000000..19d3b81b97 --- /dev/null +++ b/.github/workflows/setup_git.ps1 @@ -0,0 +1,16 @@ +# (c) 2021 Lawrence Livermore National Laboratory + +Set-Location spack + +git config --global user.email "spack@example.com" +git config --global user.name "Test User" + +if ($(git branch --show-current) -ne "develop") +{ + git branch develop origin/develop +} + +if ($(git branch --show-current) -ne "features/windows-support") +{ + git branch features/windows-support origin/features/windows-support +} |