Format all files
This commit is contained in:
parent
f2abbe8561
commit
59708b8f04
110 changed files with 1439 additions and 1484 deletions
scripts/Common/Software/git
|
@ -14,7 +14,8 @@
|
|||
$getConfig = { Get-UserConfig -UserName $User @args };
|
||||
$sudoArgs = @("-u", $User);
|
||||
$configArgs = @("--global");
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$getConfig = { Get-OSConfig @args };
|
||||
$sudoArgs = @();
|
||||
$configArgs = @("--system");
|
||||
|
@ -69,7 +70,7 @@
|
|||
} | Out-Null;
|
||||
|
||||
if ($mainBranch) {
|
||||
git -C "$dir" branch $mainBranch | Out-Null;;
|
||||
git -C "$dir" branch $mainBranch | Out-Null;
|
||||
sudo @sudoArgs git -C "$dir" flow config set @configArgs master $mainBranch;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue