Remove conflicting Git aliases

Remove conflicting Git aliases to avoid issues.
This commit is contained in:
2026-04-16 10:37:16 +02:00
committed by GitHub
parent 218c433485
commit 1bc7fc3fe2
+6
View File
@@ -1,3 +1,9 @@
# Remove conflicting aliases
if (Test-Path Alias:gp) { Remove-Item Alias:gp -Force }
if (Test-Path Alias:gc) { Remove-Item Alias:gc -Force }
if (Test-Path Alias:ga) { Remove-Item Alias:ga -Force }
if (Test-Path Alias:gpr) { Remove-Item Alias:ga -Force }
function postpr { function postpr {
# Save current branch # Save current branch
$current_branch = git symbolic-ref --short HEAD $current_branch = git symbolic-ref --short HEAD