Public/Clear-Repository.ps1

1
2
3
4
5
6
7
8
<#
    .SYNOPSIS
        Clears the git repository in a way that does not harm Visual Studio or Rider cache files.
#>

function Clear-Repository() {
    Invoke-NativeCommand git clean -fxd -e '\.vs' -e '\.idea'
}