28 lines
1.3 KiB
PowerShell
28 lines
1.3 KiB
PowerShell
$vizion = "C:\Users\sahrk\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\Shared Projects\VizionAI-Trading"
|
|
$repo = "$vizion\VizionAI-Trading-Repo"
|
|
|
|
Write-Host "=== VizionAI-Trading\ root contents ===" -ForegroundColor Cyan
|
|
Get-ChildItem $vizion | Select-Object Name, Attributes | Format-Table -AutoSize
|
|
|
|
Write-Host "=== Git repos found ===" -ForegroundColor Cyan
|
|
# Check for .git in VizionAI-Trading itself
|
|
if (Test-Path "$vizion\.git") {
|
|
Write-Host "[GIT] $vizion <-- has .git" -ForegroundColor Yellow
|
|
} else {
|
|
Write-Host "[none] $vizion (no .git here)" -ForegroundColor Gray
|
|
}
|
|
|
|
# Check for .git in VizionAI-Trading-Repo
|
|
if (Test-Path "$repo\.git") {
|
|
Write-Host "[GIT] $repo <-- has .git" -ForegroundColor Green
|
|
git -C $repo remote -v
|
|
} else {
|
|
Write-Host "[none] $repo (no .git here)" -ForegroundColor Gray
|
|
}
|
|
|
|
# Search for any other .git folders under Shared Projects
|
|
Write-Host ""
|
|
Write-Host "=== All .git folders under Shared Projects ===" -ForegroundColor Cyan
|
|
$sharedProjects = "C:\Users\sahrk\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5\Shared Projects"
|
|
Get-ChildItem $sharedProjects -Recurse -Force -Filter ".git" -Directory -ErrorAction SilentlyContinue |
|
|
Select-Object FullName | Format-Table -AutoSize
|