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] | |
| ls = log --oneline | |
| st = status | |
| cm = commit -m | |
| ck = checkout | |
| cb = checkout -b | |
| logg = log --pretty=format:'%h %s' --graph | |
| main = checkout main | |
| amend = commit --amend --no-edit | |
| replay = rebase -i |
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
| #!/usr/bin/env bash | |
| task() { | |
| [ -f /tmp/todo ] || cat /tmp/todo | |
| if [ $# -gt 0 ]; then | |
| echo "$1">>/tmp/todo | |
| else cat /tmp/todo | |
| fi | |
| } |
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
| find . -name '.git' -type d -exec git --git-dir='{}' --work-tree='{}/..' gc \; |