Use "fetch-depth: 0" to retrieve all history from remote
This commit is contained in:

committed by
Peter Scheibel

parent
c4f29c6384
commit
3e1661a183
9
.github/workflows/setup_git.sh
vendored
Executable file
9
.github/workflows/setup_git.sh
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
git config --global user.email "spack@example.com"
|
||||
git config --global user.name "Test User"
|
||||
# With fetch-depth: 0 we have a remote develop
|
||||
# but not a local branch. Don't do this on develop
|
||||
if [ "$(git branch --show-current)" != "develop" ]
|
||||
then
|
||||
git branch develop origin/develop
|
||||
fi
|
Reference in New Issue
Block a user