Skip to content

Commit 9d0bb38

Browse files
committed
✨ Improved gss function
1 parent 18caa26 commit 9d0bb38

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pwsh/functions.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,18 @@ function Get-GitStatus {
237237
}
238238

239239
# Print git status using g3l
240+
function gss {
241+
# Fetch git remote
242+
Write-BoldGreen "Git Remotes"
243+
git remote -v
244+
Get-GitStatus
245+
# Git branch status
246+
Write-Output "" # New line
247+
g3l --status
248+
gbs --remotes
249+
}
250+
251+
<#
240252
function gss {
241253
# Fetch git remote
242254
# Print-Green-Underline "Git Remotes:"
@@ -250,6 +262,7 @@ function gss {
250262
Write-Output "" # new line
251263
g3l --status
252264
}
265+
#>
253266

254267
# Clone a git repository and cd into the created directory
255268
# https://stackoverflow.com/a/32539370/6346131

0 commit comments

Comments
 (0)