fatal: unable to access ‘https://github.com/some-repo’: SSL certificate problem: unable to get local issuer certificate

When

Can occur when cloning a repo with HTTPS.

Resolution

Use the -c http.sslVerify=false flag.

git -c http.sslVerify=false clone https://github.com/some-repo

edit git commit details

git rebase -i 0abc12def // <- the commit before the one that needs edit
// use vi to change "pick" to "edit" on the commit(s) that need edits, then write/quit
git commit --amend --author="Christopher Snay <[email protected]>"
// write/quit vi
git rebase --continue // <- repeat until all edited commits complete
git push -f

ssh key generation

ssh-keygen
// copy contents from C:\Users\<<<me>>>\.ssh\id_rsa.pub
// paste contents to: https://bitbucket.org/account/user/<<<me>>>/ssh-keys/

ssh key generation to a specific directory

ssh-keygen -f C:\somepath\filename