Add a script for restoring git
This commit is contained in:
parent
0ccc870584
commit
e064c3fd01
6 changed files with 24 additions and 11 deletions
scripts/Windows/Software/git
|
@ -1,8 +1,9 @@
|
|||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
$configBaseName = ".gitconfig";
|
||||
$configPath = Join-Path "$HOME" "$configBaseName";
|
||||
|
||||
function Invoke-BackupGit([Context] $context) {}
|
||||
|
||||
function Invoke-RestoreGit([Context] $context) {
|
||||
. "$PSScriptRoot/../../../Common/Config/git/install.ps1";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue