PSGitUtils
Provides emoji supports for Git commit and Git log. Provides some easier commands that encapsulating git commands.
Install / Use
/learn @capdiem/PSGitUtilsREADME
PSGitUtils 
- Provides emoji supports for Git commit and Git log.
- Provides some easier commands that encapsulating git commands.
Install
> Install-Module -Name PSGitUtils
Usage
-
Invoke-GitCommit
Same as
git commit -m, but provides choices of types. It would generate the message like<type>(<scope>): <emoji> subject. You can modify$GitUtilsConfigto decide whether or not generating emoji and type.> Invoke-GitCommit "New Commit" > ggc "New Commit" -
Invoke-GitHistory
Same as
git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset', but replaces Gitmoji code with emoji.> Invoke-GitHistory > Invoke-GitHistory 20 > ggh > ggh 20 -
GitUtilsConfig
> $GitUtilsConfig.Type = $True # determine whether to show the <type>, default show > $GitUtilsConfig.Scope = $True # determine whether to show the <scope>, default show > $GitUtilsConfig.Emoji = $True # determine whether to show the <emoji>, default show > $GitUtilsConfig.EmojiFirst = $False # determine whether to place the <emoji> in front of <type>, default no -
Other Aliases
> gga # git add [.|args] > ggb # git branch [-av|args] > ggbd # git branch -d [args] with user interactions > ggbs # Try to delete the local branches that no longer exist on the remote > ggck # git checkout [args], user interactions if args is empty > ggckb # git checkout -b <branch-name> > ggc # git commit -m <msg> with user interactions > ggd # git diff [args] > ggpl # git pull [args] > ggps # git push [args] > ggrst # git reset [args] > ggs # git status [args]
Best Practices
# open default profile
> notepad $PROFILE
# copy the following code and paste it into $PROFILE
if (Get-Module PSGitUtils -ListAvailable) {
Import-Module PSGitUtils # initialize variables
$GitUtilsConfig.Emoji = $false # do not pick and insert <emoji>
Set-Alias ga gga
Set-Alias gb ggb
Set-Alias gbd ggbd
Set-Alias gbs ggbs
Set-Alias gck ggck
Set-Alias gckb ggckb
Remove-Item 'Alias:\gcm' -Force
Set-Alias gcm ggc
Set-Alias gcmd Get-Command
Set-Alias gd ggd
Set-Alias gh ggl
Set-Alias gpl ggpl
Remove-Item 'Alias:\gps' -Force
Set-Alias gps ggps
Set-Alias grst ggrst
Set-Alias gs ggs
}
# use (some examples...)
> gs # git status
> gh # git log
> gcm "test" # git commit -m "test"

References
Related Skills
apple-reminders
341.2kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
341.2kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
healthcheck
341.2kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
341.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
