zoukankan      html  css  js  c++  java
  • GIT 常用命令

    添加用户

    git config --globle user.name 'zhang'

    git config --globle user.email 'zhang@163.com'

    --查看目录的文件修改状态 

    git status

    --添加至本地库,. 代表本目录下的所有文件。也可以指定文件名,只添加 单一的文件;

    git add .  

    -- 备注更新的内容及标志

    git commit -m 'gengxinshuoming remark '

    --上传到指定服务器

    git push origin master

    -- 下载服务器的更新文件

    git pull

    --克隆创本地目录 

    git clone git@10.0.x.x:/home/git/ddd-c.git

  • 相关阅读:
    3
    2
    1
    11
    12
    8888888888
    99999999999
    88888888888
    77777777
    10.23
  • 原文地址:https://www.cnblogs.com/lrzy/p/14148802.html
Copyright © 2011-2022 走看看