The project approach is deployed to github

  GitHub is oriented open source and proprietary software project hosting platform, since only supports git repository as the only format hosted, named GitHub.
  GitHub on April 10, 2008 formally launched, in addition to the Git repository hosting and basic Web management interface, also offer a subscription, discussion groups, text rendering, online file editor, collaborative map (report), code snippets share ( Gist) and other functions. At present, it has over 3.5 million registered users, the number of hosted version is also very much, many of whom are well-known open source projects  Ruby  ON Rails, jQuery , Python  and so on.
  As a code hosting platform, how can we deploy the project to GitHub it?

    First, you need to have a Github account (this is not bullshit you).

         Then, you need to download and install Git. Links: https://git-scm.com/downloads

         Note: If the download speed is too slow or not, may be selected FQ (uuu Baidu own accelerator).

         Git comes with installation tutorial (Windows): http://jingyan.baidu.com/article/90895e0fb3495f64ed6b0b50.html

         Finally, you need your own web page file (commonly known as the Project)

  • The first step: Log on Github, create a new repository, named demo1, check initialize this repository with a README, click create repository.

  • Step two: Open the settings, there is a Github Pages settings, click None source of the original, so that it becomes the master branch, and then click save.
  • The third step: After the page refreshes, look at github pages setting box office, more than a line URL is your github pages of the web site.
  • Step four: Turn on this computer, select a disk, such as the F drive, right-click the blank git bash here (provided that git already installed).
  • Step Five: Enter the following command to create a file demo1 demo1 repository to put on your github in the F drive, clone test repository to demo1 file. (Note cloning address format: https://github.com/ username / item name .git)

 

  This time your D drive, will be more of a demo1 file, open it, the excess above my folder that I existed before the project, cloning down from GitHub.

 

  • Step Six: Copy and paste into your web page file demo1 file F disc
  • Step Seven: Run the following command

 

  If this step is the first time you need to enter the relevant account information, follow the prompts to enter operation

 

   Enter the last line git push, press Enter, wait a minute, there will be pop-up box allows you to enter your github account and password (first run).

 

   

  •  Finally, back among the GitHub page, open the warehouse, you can see we have uploaded the project.

 

 

Guess you like

Origin www.cnblogs.com/DrcProgrammingCool/p/12043585.html