This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- Starship-style Prompt for Git Bash --- | |
| # --- Dependent on Maple Mono NF --- | |
| # Color Definitions | |
| CLR_USER='\[\e[38;5;216m\]' # Tan/Orange | |
| CLR_TEXT='\[\e[0m\]' # White/Reset | |
| CLR_PATH='\[\e[38;5;150m\]' # Soft Green | |
| CLR_GIT='\[\e[38;5;111m\]' # Soft Blue | |
| CLR_SYMBOL='\[\e[38;5;176m\]' # Soft Purple/Magenta | |
| CLR_RESET='\[\e[0m\]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for branch in $(git branch -r --merged | sed 's/^\s*//' | sed 's/^remotes\///' | grep -v 'develop$\|develop-hybrid$\|master$\|IPM-\|4\.'); do | |
| if [[ "$(git log $branch --since "4 months ago" | wc -l)" -eq 0 ]]; then | |
| local_branch_name=$(echo "$branch" | sed 's/origin\///') | |
| echo 'Deleting: ' $local_branch_name | |
| #git push origin :$local_branch_name | |
| fi | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias g='git' | |
| alias ga='git add' | |
| alias gaa='git add --all' | |
| alias gac='git add --all && git commit -m' | |
| alias gapa='git add --patch' | |
| alias gau='git add --update' | |
| alias gav='git add --verbose' | |
| alias gap='git apply' |