zoukankan      html  css  js  c++  java
  • github的使用

    1. 安装git
      1.  git程序下载地址(windows版本):http://git-scm.com/download/win
    2. 配置git:Now that you have Git installed, it's time to configure your settings. To do this you need to open Git Bash (not the Windows command line).----https://help.github.com/articles/set-up-git
      1. 打开终端,这里不是windows的cmd,而是git的bash
      2. username:First you need to tell git your name, so that it can properly label the commits you make.
      3. email:Git also saves your email address into the commits you make. We use the email address to associate your commits with your GitHub account.
      4. Password caching:The last option we need to set will tell git that you don't want to type your username and password every time you talk to a remote server. To do this, you need download the Windows Credential Store helper:       When download completed:Unzip the file and run the git-credential-winstore.exe program inside. This will start up the helper and update your git config to use it.                                                                note: the credential helper only works when you clone an HTTPS repo URL. If you use the SSH repo URL instead, SSH keys are used for authentication
      5. Generating SSH Keys:We use SSH keys to establish a secure connection between your computer and GitHub. Setting them up is fairly easy, but does involve a number of steps.
        1. Generate a new SSH key
          按下Enter
        2. enter passphrase
        3.  Add your SSH key to GitHub

          Run the following code to copy the key to your clipboard.

        4.  Test everything out
      6. 使用git
     




  • 相关阅读:
    BZOJ5212 ZJOI2018历史(LCT)
    BZOJ5127 数据校验
    253. Meeting Rooms II
    311. Sparse Matrix Multiplication
    254. Factor Combinations
    250. Count Univalue Subtrees
    259. 3Sum Smaller
    156. Binary Tree Upside Down
    360. Sort Transformed Array
    348. Design Tic-Tac-Toe
  • 原文地址:https://www.cnblogs.com/wxyllz/p/2546952.html
Copyright © 2011-2022 走看看