Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Haley committed Apr 30, 2019
1 parent 16d239a commit 9648239
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions scripts/PushBitsToGithub.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@ Write-Host "git pull origin $branchName"
git pull origin $branchName
#git checkout -b $newBranch $branchName

$result = git status
Write-Host "git status result: [$result]"

Write-Host "Debug 1 =============================================================="
Get-ChildItem -Recurse
Get-ChildItem -Recurse -Force

Write-Host "Deleting the old files from $repoRootPath"
Get-Childitem -Recurse -Force | Remove-Item -Force -Recurse
Get-Childitem -Recurse | Remove-Item -Force -Recurse

Write-Host "Debug 2 =============================================================="
Get-ChildItem -Recurse
Get-ChildItem -Recurse -Force

Write-Host "Copying the new files from $newFilesPath to $repoRootPath"
Copy-Item $newFilesPath -Destination $repoRootPath -Recurse

Write-Host "Debug 3 =============================================================="
Get-ChildItem -Recurse
Get-ChildItem -Recurse -Force

Write-Host "Debug 4 =============================================================="
git add .
Expand Down

0 comments on commit 9648239

Please sign in to comment.