Use GitHub / code cloud / Git personalized settings

Reference link: https: //www.liaoxuefeng.com/wiki/896043488029600/900937935629664

It seems ridiculous, I had never thought about writing a method to use a website to record, in fact, there is no reason, if there is, it may be that he is the reason it English website

summary

  • On GitHub, open source can be arbitrarily Fork warehouse;

  • Read-write access their own warehouse after Fork;

  • You can push pull request to the official repository to contribute code.

Introduction

We have been using GitHub as a free remote repository, if an individual open source project, put it on GitHub is no problem. In fact, GitHub is a collaborative open source community, through GitHub, you can either let others participate in open source projects, others can also participate in open source projects.

But on GitHub, Git use of extremely powerful cloning and branch function, the masses truly the first time to participate freely in various open source project.

How to participate in an open source project it? For example, highly popular bootstrap project, which is a very powerful CSS framework, you can visit its project page https://github.com/twbs/bootstrap , point "Fork" to clone a bootstrap under their own account warehouse, then, from his own account clone:

git clone [email protected]:michaelliao/bootstrap.git

  Certain clone warehouse under their own account from, so you can push changes. If the warehouse from the author's bootstrap address [email protected]:twbs/bootstrap.gitcloning, because there is no authority, you will not be able to push modify.

If you want to fix a bug bootstrap, or add a new feature, you can immediately begin to work, work was done, to push its own warehouse.

If you want to bootstrap the official repository can accept your changes, you can initiate a pull request on GitHub. Of course, if the other party to accept your pull request might not be.

Use Code Cloud

Reference link: https: //www.liaoxuefeng.com/wiki/896043488029600/1163625339727712

When you use GitHub, domestic users often encounter the problem of access is too slow and, sometimes, the situation can not be connected (the reason you know).

If we want to experience the speed of flying in general Git, you can use the domestic Git hosting services - code cloud ( gitee.com ).

And compared to GitHub, the code also offers free cloud Git repository. In addition, the integrated code quality testing, project presentations and other functions. For teamwork development, cloud code also provides project management, code hosting, document management services, a small team of 5 people or less free.

Git Custom

  Git has many configurable items, such as configuration files and ignore the special aliases can facilitate our facilitation configuration according to their own personal habits

  Reference link: https: //www.liaoxuefeng.com/wiki/896043488029600/900785521032192

 

Guess you like

Origin www.cnblogs.com/Gaoqiking/p/11122324.html