Skip to content

Commit 274f0b0

Browse files
committed
Restore default Git fetch configuration on RTD
The Git shallow clone used on Read the Docs is configured to only fetch a specific Git branch: [remote "origin"] url = https://github.com/stackhpc/stackhpc-kayobe-config.git fetch = +refs/heads/stackhpc/yoga:refs/remotes/origin/stackhpc/yoga This prevents subsequent `git fetch` commands from fetching all remote branches. Use `git remote set-branches origin '*'` to revert to the default Git fetch configuration.
1 parent d223dd2 commit 274f0b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ build:
1313
python: "3.7"
1414
jobs:
1515
post_checkout:
16+
- git remote set-branches origin '*' || true
1617
- git fetch --unshallow || true
1718

1819
# Build documentation in the doc/source/ directory with Sphinx

0 commit comments

Comments
 (0)