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/

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

  • 相关阅读:
    js学习
    console用法
    Oracle 数据库加密
    Oracle 内存结构
    Oracle 锁
    Oracle 索引
    怎么理解“平均负载”
    Oracle分区表
    Oracle 数据库表(常见的表)
    PostgreSQL 监控磁盘使用
  • 原文地址:https://www.cnblogs.com/CGCong/p/10880289.html
Copyright © 2011-2022 走看看