Git public key modification (the public key is in the. Ssh/id_rsa.pub under the C-disk user): I modified it with: Gitgui tool (Http://www.cnblogs.com/banzhuan/p/6544951.html)
The command is: ssh-keygen-t rsa-c "[email protected]"//Sign up for GitHub's mailbox
SAY: The default is not modified (), directly to the public key on GitHub to create a new public key (in Setting/ssh and GPG keys, and then new one, with the. Ssh/id_rsa.pub public Key)
---If you don't use the public key, fork the project and then you need to modify the time is not push up, will appear: [Remote rejected] (permission denied) permissions problem (co-development requires public key)
The private key is automatically submitted when you connect to GitHub and push.
--------------------------------------------------------------------------------------------------------------- ----------------------------
GIT:HSC is my personal branch (and now the interface content of my Android studio)
Origin/dev ORIGIN/HSC origin/master ORIGIN/ZZX: It's all on my github. Branch (for remote branch) where master is primary branches (default)
Corresponds to GitHub on:
and Dev->origin/dev, master->origin/master is the branch of my local repository and my GitHub branch.
------------------------------------------------------------------------------------------------------------
Checkout switch branches, current can be checkout to Dev branch
Merge represents fusion, the content of the current branch HSC is fused to the dev branch
The rest is what it means, the same.
--------------------------------------------------------------------------------------------------------------- -----------------
Yes, it's a bit like adding to the cache, and it doesn't load locally, and the color changes from red to green.
Then right-click on the modifier: ADD in the commit File
You can choose: commit (the meaning of loading the local repository) commit and push are added to the local repository and then push to remote GitHub
Prompt success:
----------------------------------------------------------------------------------------
Pull requests can ask the fork to change the requirements (you can pull requests each other),
Fork in: 2 Closed (indicates the most recent two pull requests), in the commits can see the requirements of the supply side to change the content
Git notes for Android studio