Skip to content

Commit

Permalink
docs: BranchSummary ugit action example ( Fixes #291 )
Browse files Browse the repository at this point in the history
Fetching all first
  • Loading branch information
James Brundage committed Sep 25, 2024
1 parent 2d5e121 commit 017e0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/BranchSummary.ugit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#>
param()

$gitFetch = git fetch
$gitFetch = git fetch --all
$currentBranchName = git branch | ? IsCurrentBranch
if ($currentBranchName -in 'master','main') {
Write-Warning "Not summarizing the main branch."
Expand Down

0 comments on commit 017e0a5

Please sign in to comment.