-
Notifications
You must be signed in to change notification settings - Fork 0
GitHub
Xuwei Li edited this page Jan 30, 2022
·
13 revisions
https://github.com/django/.github
- Tab indent in Editor
Control + Option + Tab
https://github.com/<owner>/<repo>/issues/show_menu_content?partial=issues/filters/authors_content
Host github.com
Port 22
User git
IdentityFile ~/.ssh/<Email>/<Private Key>
IdentitiesOnly yes
TCPKeepAlive yes
[core]
sshCommand = ssh -i ~/.ssh/<Email>/<Private Key>
[user]
name = <Name>
email = <Email>
signiingkey = <GPG Secret Key ID>
[commit]
gpgSign = true
[tag]
gpgSign = true
% gpg -K- https://docs.releng.linuxfoundation.org/en/latest/gpg.html
- https://makandracards.com/makandra-orga/37763-gpg-extract-private-key-and-import-on-different-machine
- https://superuser.com/questions/502575/gpg2-on-mac-how-to-enter-passphrase-on-terminal-instead-of-getting-a-gui-prompt
% gpg --import <Private Key>% brew install gpg-agent pinentry-mac% echo "use-agent" > ~/.gnupg/gpg.conf
% cat > ~/.gnupg/gpg-agent.conf << EOF
use-standard-socket
enable-ssh-support
default-cache-ttl 600
max-cache-ttl 7200
pinentry-program /usr/local/bin/pinentry-mac
EOF
% killall gpg-agent- https://stackoverflow.com/questions/16432071/how-to-fix-homebrew-permissions
- https://golangrepo.com/repo/jorgelbg-pinentry-touchid-go-security
% sudo chown -R "$USER":admin /usr/local/Homebrew/Library/Taps
% brew tap jorgelbg/tap
% brew install pinentry-touchidpinentry-program /usr/local/bin/pinentry-touchid