generate key
1 | mkdir .ssh |
copy key
1 | cat ~/.ssh/id_rsa.pub |
Git Bash on Windows / Windows PowerShell
1 | cat ~/.ssh/id_rsa.pub | clip |
Git test
1 | ssh -T git@github.com |
clone git res
1 | git clone 'git@myproject.git' |
check status
1 | git status -s |
commit
1 | git init |
reset
1 | git reset -hard 'log.hash' |
error
1 | ssh-agent bash |