summaryrefslogtreecommitdiff
path: root/.github/workflows/setup_git.ps1
blob: 19d3b81b97a0d7a814925c236fa05fc84eb05238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}