- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| #!/bin/sh | |
| if [ ! "$1" ] | |
| then | |
| echo "Usage: ocr <image-file>" | |
| exit | |
| fi | |
| if [ "x$1" = "x-h" ] | |
| then |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |