zoukankan      html  css  js  c++  java
  • Git command

     

     

    Command line instructions

    Git global setup
    git config --global user.name "XXX"
    git config --global user.email "XXX@XXX.com"
    
    Create a new repository
    cd e:
    cd e:/Git
    git clone https://gitlab.com/XXX/Test.git cd Test touch README.md git add README.md git commit -m "add README" git push -u origin master
    Existing folder
    cd existing_folder
    git init
    git remote add origin https://gitlab.com/lukySmile/Test.git
    git add .
    git commit -m "Initial commit"
    git push -u origin master
    Existing Git repository
    cd existing_repo
    git remote rename origin old-origin
    git remote add origin https://gitlab.com/lukySmile/Test.git
    git push -u origin --all
    git push -u origin --tags


    Reference:
    https://gitlab.com/lukySmile/Test#repo-command-line-instructions
  • 相关阅读:
    小网络的激活函数
    Dual Path Networks
    RT600之Mailbox
    RT600之OTFAD
    RSA算法详解
    RT600之SB
    RT600之master key
    RT600之PUF
    RT600 Boot详解
    RT如何生成image
  • 原文地址:https://www.cnblogs.com/keepSmile/p/9070843.html
Copyright © 2011-2022 走看看