zoukankan      html  css  js  c++  java
  • git初始化命令行指引

    Git 全局设置
    git config --global user.name "陈耿聪"
    git config --global user.email "swain@digitalgd.com.cn"
    创建一个新存储库
    git clone http://19.15.68.4/szgd_swain/rp-word.git
    cd rp-word
    touch README.md
    git add README.md
    git commit -m "add README"
    git push -u origin master
    推送现有文件夹
    cd existing_folder
    git init
    git remote add origin http://19.15.68.4/szgd_swain/rp-word.git
    git add .
    git commit -m "Initial commit"
    git push -u origin master
    推送现有的 Git 存储库
    cd existing_repo
    git remote rename origin old-origin
    git remote add origin http://19.15.68.4/szgd_swain/rp-word.git
    git push -u origin --all
    git push -u origin --tags

    作者:陈耿聪 —— 夕狱

    出处:https://www.cnblogs.com/CGCong/

    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

  • 相关阅读:
    C#面向对象
    C#语句
    C#语言数据类型
    Jupyter Notebook(iPython)
    BeautifulSoup模块
    requests模块
    爬虫基本原理
    版本控制系统
    支付宝支付
    django内置组件——ContentTypes
  • 原文地址:https://www.cnblogs.com/CGCong/p/10880289.html
Copyright © 2011-2022 走看看