• git 切换分支


      # 查看git源
    git  remote -v
    git remote set-url origin http://mingzhanghui@xx.xx.xx.xx:8090/r/ENSO/webapp.git

    # 切换git源

    git remote set-url origin http://mingzhanghui@192.168.10.57/r/OnlineEdu/bgms-web.git

    # 查看git分支
    git branch

    # 切换到master分支

    git checkout master

    # 创建dev分支并切换到这个分支
    git checkout -b dev
     
    ------------------------------------------------------

    13352@zhanghum MINGW64 /g/eclipse-workspace/platform (20180706_dev_question_course)
    $ git branch
    * 20180706_dev_question_course
    enso-branch
    master

    13352@zhanghum MINGW64 /g/eclipse-workspace/platform (20180706_dev_question_course)
    $ git checkout 20180723_dev_xdr_v2
    Switched to a new branch '20180723_dev_xdr_v2'
    M enso/src/main/resources/jdbc.properties
    Branch '20180723_dev_xdr_v2' set up to track remote branch '20180723_dev_xdr_v2' from 'origin'.

    13352@zhanghum MINGW64 /g/eclipse-workspace/platform (20180723_dev_xdr_v2)
    $ git branch -v
    20180706_dev_question_course babe1666 【李勇】公共主题只显示记者站
    * 20180723_dev_xdr_v2 4d3fe2c2 【夏冬雪】fix
    enso-branch 4d243b29 学校有一个濮阳的写到商丘市区了
    master 8eb85962 添加一个接口 表示所有学校列表

  • 相关阅读:
    编写程序,验证string是ipV4地址
    TCP三次握手和四次挥手
    链表和数组的区别
    cookie和session的区别
    GET和POST的区别
    TCP和UDP的区别
    java HashMap和Hashtable的区别
    java 堆和栈的区别
    最小栈的实现
    关于几个位运算的算法分析
  • 原文地址:https://www.cnblogs.com/mingzhanghui/p/9289773.html
Copyright © 2020-2023  润新知