Public and private keys
- The public and private keys are stored in User/ XXX /.ssh
- Ssh-keygen -t rsa -b 4096 C “Your own email address”
- Id_rsa private key file, id_rsa.pub public key file
- Go to github personal space, profile -> SSH and GPG Keys -> New SSH Key. Copy in the contents of the id_rsa.pub file.
Local repositories are pushed to Github
- Git remote add Add a local name for the remote repository (xxxx.git).
- git fetch github master
- git checkout master
- git merge –allow-unrelated-histories github/master
- git push github master
Github quickly searches for desired resources
- XXXX in readme Searches for the keyword in the readme file of the warehouse
- XXX stars>1000 Search for stores with more than 1000 stars.
- Filename: XXX Searches for the keyword in code