feat: Add GitRepoRegistration cmdlets #5

Merged
pascal_nulah merged 69 commits from feature/git-provider into dev 2026-09-06 09:33:36 +10:00
Showing only changes of commit c48549117f - Show all commits

chore(git-provider): Trim output when getting current branch

Scott 2026-08-24 17:35:53 +10:00

View file

@ -230,7 +230,8 @@ public class GitManager
// Set the next check to be in the future so we don't hold up any list commands every time.
_nextCheckTime = now.AddMinutes(15).Ticks;
return _currentBranch;
// The branch name could (will) have a newline character at the end, so we trim that off
return _currentBranch.Trim();
}
}
}