Add alternative timeline views to readme/makefile

This commit is contained in:
yan 2022-11-05 14:57:18 -07:00
parent db0e24df7f
commit 44f643b118
No known key found for this signature in database
2 changed files with 17 additions and 4 deletions

View file

@ -15,5 +15,11 @@ refresh:
repost:
git cherry-pick $(p)
timeline:
timeline-graph:
git log --graph --all --decorate --oneline
timeline:
git rev-list --all --remotes --pretty | less
timeline-short:
git log --format="format:%Cred%cd %Cblue%h %Cgreen%cn%Creset: %s" --all --date=iso-local

View file

@ -39,7 +39,7 @@ git remote add <git name> <their fork of diracdelta's repo>
git fetch <git name>
```
* to follow everybody:
* to follow everybody using GitHub:
`./follow-everybody.bash`
@ -55,12 +55,19 @@ git cherry-pick <their commit hash>
git fetch --all && git rev-list --all --remotes --pretty | less
```
* to view your timeline in a cool way:
* some alternative ways to view your timeline (use `git show <commit hash>` to
show the full "tweet"):
```
git log --format="format:%Cred%cd %Cblue%h %Cgreen%cn%Creset: %s" --all --date=iso-local
git log --graph --all --decorate --oneline
```
* to get verified:
* to get verified (GitHub-only):
1. [follow github's own verification instructions and make your commit email match your GPG key email](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
2. `git commit -S -m "your post" --allow-empty` from now on
* to encrypt a message:
see `encrypt using the public key of a github user` in https://sshenc.sh/ or
use your favorite key distribution mechanism to get their public key.