cleanups, help
Dependencies
Change contents
- replacement in bashrc at line 1
# * Pijul command line aliases & usage notes, tested with bash.# These help me use pijul more efficiently, by reducing typing and# aligning with familiar commands from other VCS.# If you'd like to try them:# * Pijul command line aliases.# These aliases and usage notes help me be productive with pijul.# They are tested with bash. If you'd like to try them: - replacement in bashrc at line 8
alias pj=pijulTHISFILE=~/src/pijul-scripts/bashrcPIJULCONFDIR=~/Library/Application\ Support/pijul # mac - replacement in bashrc at line 11
# ** pijul setup/testingalias pjkeygen='pj key generate `whoami`'alias pjkeyrm='rm -rf ~/Library/Application\ Support/pijul' # mac# pjh - show help for these aliases.pjh() { grep -E '^# (pj|\*)' "$THISFILE" ; } - replacement in bashrc at line 14
alias pjreporm='rm -rf .pijul'# pj [CMD] - run a pijul command or show pijul's help.alias pj=pijul - replacement in bashrc at line 17
# ** show working copy status# ** pijul setup/uninstall helpers - replacement in bashrc at line 19
# Show unrecorded changes (except added files).# Similar to git diff, darcs whatsnew.alias pjd='pj diff'# pjkeygen - generate a patch-signing key for current user.alias pjkeygen='pj key generate `whoami`' - replacement in bashrc at line 22
# Summarise unrecorded changes (except added files). Add -u to see untracked files.# Similar to git status -s, darcs whatsnew -s.alias pjs='pj diff -s'# pjconfrm - erase current user's pijul config and keys.# shellcheck disable=SC2139alias pjconfrm="echo 'warning: this will erase your pijul config and keys'; rm -ri \"$PIJULCONFDIR\"" - replacement in bashrc at line 26
# ** record changes# # pjreporm - immediately erase pijul config and history in the current directory.# alias pjreporm='rm -rf .pijul' - replacement in bashrc at line 29
# pjrecam 'MSG' - record all pending changes as a new change with the given message.# Similar to git commit -am 'MSG', darcs record -am 'MSG'.alias pjrecam='pj record -a -m'# ** list recorded patches in current repo - replacement in bashrc at line 31
# pjamenda [HASH] - add all pending changes to the specified or last recorded change.# Similar to git commit --amend -a, darcs amend -a.alias pjamenda='pj record -a --amend'# ** list changes# Standard list.# pjl - standard list. - replacement in bashrc at line 34
# List with full descriptions. (?)# pjlv - list with full descriptions. (?) - replacement in bashrc at line 37
# List just the hashes.# pjlh - list just the hashes. - replacement in bashrc at line 40
# List with summary of file changes, like git log --stat, darcs log -s.# pjls - list with summary of file changes.# Similar to git log --stat, darcs log -s. - replacement in bashrc at line 44
# ** inspect changes# ** inspect a patch - replacement in bashrc at line 46
# pjshow [HASH] - show a change, like git show [HASH], darcs log -v -h HASH.# pjshow [HASH] - show a patch in full.# Similar to git show [HASH], darcs log -v -h HASH. - replacement in bashrc at line 50
# pjshowstat [HASH] - show a change summary, like git show --stat [HASH], darcs log -v -h HASH.# pjshowstat [HASH] - summarise a patch.# Similar to git show --stat [HASH], darcs log -v -h HASH. - edit in bashrc at line 55[2.1541]
# ** show unrecorded changes# pjd - show unrecorded changes (except added files).# Similar to git diff, darcs whatsnew.alias pjd='pj diff'# pjs - summarise unrecorded changes (except added files). Add -u to see untracked files.# Similar to git status -s, darcs whatsnew -s.alias pjs='pj diff -s'# ** record changes# pjrecam 'MSG' [PATHS] - record pending changes with the given message.# Similar to git commit -am 'MSG', darcs record -am 'MSG'.alias pjrecam='pj record -a -m'# pjamenda [HASH] [PATHS] - add pending changes to the last recorded or specified patch.# Similar to git commit --amend -a, darcs amend -a.alias pjamenda='pj record -a --amend' - replacement in README.md at line 3
- bashrc - command line aliases & usage notes, tested with bash.- push, pull - push/pull this repo, until I can configure a default remote- bashrc - command line aliases & usage notes, tested with bash - replacement in README.md at line 6
These help me use pijul more efficiently, by reducing typing andThese help me be productive with pijul, by reducing typing and