diff options
Diffstat (limited to '.github/workflows/bin/setup_git.ps1')
-rw-r--r-- | .github/workflows/bin/setup_git.ps1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/bin/setup_git.ps1 b/.github/workflows/bin/setup_git.ps1 new file mode 100644 index 0000000000..836b7f8a2c --- /dev/null +++ b/.github/workflows/bin/setup_git.ps1 @@ -0,0 +1,10 @@ +# (c) 2022 Lawrence Livermore National Laboratory + +git config --global user.email "spack@example.com" +git config --global user.name "Test User" +git config --global core.longpaths true + +if ($(git branch --show-current) -ne "develop") +{ + git branch develop origin/develop +} |