zoukankan      html  css  js  c++  java
  • Github Git usage

    /** Init **/
    mkdir XX
    cd ~/XX
    git init
    touch README
    git add README
    git commit -m 'first commit'
    git remote add origin https://github.com/YYY/XX.git
    git push origin master
    
    /** Fork **/
    git clone https://github.com/YYY/XX.git
    cd XX
    git remote add upstream https://github.com/YYY/XX.git
    git fetch upstream
    git merge upstream/master

    /** Update & commit **/ git fetch upstream git merge upstream/master // git pull upstream master git status git add -A git commit -m 'commit message' git push origin master

     

  • 相关阅读:
    hdu 1.2.4
    交换机&&路由器
    AP、AC、无线路由器
    肩胛骨
    无线路由器
    背部肌肉
    胸部肌肉
    redis未授权访问
    进制
    攻防实验
  • 原文地址:https://www.cnblogs.com/willyan/p/3147284.html
Copyright © 2011-2022 走看看