Skip to content

Commit

Permalink
deepen fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Jan 14, 2024
1 parent 8f7bd0c commit b2f287e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@ jobs:
- run: git fetch --depth=2 origin
- name: Show HEAD history
run: git log '--format=%h%d %ad %s' --date=local --graph
- name: Fetch deeper
run: |
count="$(git rev-list --count --all)"
echo "Count: $count"
git fetch --depth=$count origin
- name: Show HEAD history
run: git log '--format=%h%d %ad %s' --date=local --graph

0 comments on commit b2f287e

Please sign in to comment.