summaryrefslogtreecommitdiff
path: root/.github/workflows/setup_git.ps1
blob: f54e05ab9df1fdcf3136319b77dcc58ec81faeb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# (c) 2021 Lawrence Livermore National Laboratory

Set-Location spack

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
    git branch releases/v0.18 origin/releases/v0.18
}