2023-07-12 20:37:31 +00:00
|
|
|
#!/bin/pwsh
|
2024-03-20 20:44:02 +00:00
|
|
|
. "$PSScriptRoot/../../Scripts/BashScript.ps1";
|
2024-08-07 19:05:32 +00:00
|
|
|
. "$PSScriptRoot/../../../Common/Scripts/Context.ps1";
|
2023-06-07 20:58:42 +00:00
|
|
|
|
2023-06-08 00:28:33 +00:00
|
|
|
$null = New-Module {
|
2023-06-30 10:19:54 +00:00
|
|
|
function Backup-Git([Context] $context) {}
|
2023-06-22 18:44:40 +00:00
|
|
|
|
2023-06-30 10:19:54 +00:00
|
|
|
function Restore-Git([Context] $context) {
|
2023-06-30 12:23:20 +00:00
|
|
|
Write-Host "Restoring git";
|
2023-06-30 11:11:08 +00:00
|
|
|
|
2024-03-20 20:44:02 +00:00
|
|
|
Start-BashScript @(
|
|
|
|
"bash `"$PSScriptRoot/../../../Common/Config/git/install.sh`"",
|
|
|
|
"rm ~/.bashrc");
|
2023-06-22 18:44:40 +00:00
|
|
|
}
|
2023-07-12 20:44:20 +00:00
|
|
|
}
|