zoukankan      html  css  js  c++  java
  • GitHub之分支创建

    Git常用操作:

    git init

    git add

    git commit -m "记录本次提交的说明性文字"

    git remote add origin https://github.com/xx/xx.git

    git push -u origin master

    在本地新建一个分支: git branch Branch1
    切换到你的新分支: git checkout Branch1
    将新分支发布在github上: git push origin Branch1
    在本地删除一个分支: git branch -d Branch1
    在github远程端删除一个分支: git push origin :Branch1   (分支名前的冒号代表删除)

    直接使用git pull和git push的设置

    git branch --set-upstream-to=origin/master master 
    git branch --set-upstream-to=origin/ThirdParty ThirdParty
    git config --global push.default matching

  • 相关阅读:
    MyCAT-安装配置读写分离
    MYSQL-GTID复制
    Harbor使用
    ansible-playbook(合集)
    Ansible批量添加主机
    MyCAT+MGR
    随笔说明
    常用sql语句
    接口测试基础
    正则表达式
  • 原文地址:https://www.cnblogs.com/meiCode/p/7061852.html
Copyright © 2011-2022 走看看