13 lines
301 B
PowerShell
13 lines
301 B
PowerShell
$tmp = "gitTemp"
|
|
$source = "Concept-Web"
|
|
$destination = "ConceptPortal"
|
|
|
|
if (Test-Path -Path $tmp) {
|
|
Remove-Item $tmp -Recurse -Force
|
|
}
|
|
Remove-Item -recurse $destination\* -exclude .git
|
|
|
|
& git clone $source $tmp
|
|
Copy-Item $tmp\* $destination\ -Recurse -Exclude .git
|
|
|
|
Remove-Item $tmp\ -Recurse -Force |