For the remote, when you create a new project, you need to create a new page, in the new project page, there will be a hint you upload the local project to this remote method of the code, direct copy paste to Git shell can solve the problem, no longer detailed.
When you upload code to an existing code, you first need to connect to the remote
git remote add remote-name https://XXX.XXX.XXX
If you want to upload your local code after you have established a connection, just use
git push remote-name branch-name
Yes, the default remote name is origin, and the default branch name is generally master
When you want to get the files/updates that you don't have locally from the far end of the connection, you need to use
git fetch remote-name
To crawl. What I'm not saying here is that you can crawl the entire project from any link in the project to the local via a called
git clone Https://XXXX.XXXX.XXX ...
, clone is actually the most first to say, I put the knowledge of the system here, clone is actually some kind of simplified operation of the remote to the local, clone after you will get a default remote Name:origin and a default branch:master. And, your project is not connected to the far end, which is called clone.
It is not possible to remove the entire project through command line operations, and it is necessary for the project owner to remove it from the setting of the project page. You can, however, remove individual project files. (local removal As mentioned above, then upload it) you can also remove the association with a project by
Git remote RM remotename
In addition, the name of the far end you can also change (since you are casual), through
git remote rename orignal-name new-name
In addition, you can use
git tag
To hit the version number, the specific content of the self-search is no longer detailed.
GitHub Learning Note Two • Remote End control