$ git branch -r # list all remote branches
$ git commit --amend -m "New commit message" # Amend the most recent commit message
$ git remote -v # list remote branches
$ git remote add <origin> <https://github.com/user/repo.git> # sets a new remote
- M-% prompt for search and replace strings
- Spacebar Replace text and find the next occurrence
- Del Leave text as is and find the next occurrence
- . (period) Replace text, then stop looking for occurrences
- ! (exclamation) Replace all occurrences without asking
After downloading the image and PGP Signature verify it's integrity with sha1sum
and gpg
$ echo '<SHA1SUM> archlinux-x.x.x-x86_64.iso' | sha1sum -c -
archlinux-x.x.x-x86_64.iso:OK
$ gpg --verify archlinux-x.x.x-x86_64.iso.sig archlinux-x.x.x-x86_64.iso
should yield good signature