【git】切换分支获取代码
Welcome to Git (version 1.9.5-preview20150319)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (master)
$ git che
checkout cherry cherry-pick
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (master)
$ git checkout develop
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (develop)
$ git pull origin develop
remote: Counting objects: 110, done.
remote: Compressing objects: 100% (86/86), done.
emote: Total 110 (delta 46), reused 0 (delta 0)Receiving objects: 25% (28/110)
Receiving objects: 100% (110/110), 15.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (46/46), completed with 13 local objects.
From gitlab.y**t**.org:payment/payment-facade
* branch develop -> FETCH_HEAD
643536c..d7e66fc develop -> origin/develop
Updating 643536c..d7e66fc
Fast-forward
build.gradle | 1 +
.../y**t**/payment/SerialServiceSettings.groovy | 2 -
.../payment/common/PaymentServiceFactory.groovy | 58 +++++++++++
.../com/y**t**/payment/common/SerialService.groovy | 3 +-
.../y**t**/payment/converter/PayConverter.groovy | 5 +-
.../exception/GatewayNotFoundException.groovy | 4 +
.../com/y**t**/payment/pay/PayFacadeService.groovy | 81 +++++++--------
.../groovy/com/y**t**/payment/pay/Payment.groovy | 51 +++++-----
.../payment/refund/RefundFacadeService.groovy | 109 ++++++++-------------
.../groovy/com/y**t**/payment/tenant/Token.groovy | 16 +--
src/main/resources/application.yml | 8 +-
11 files changed, 179 insertions(+), 159 deletions(-)
create mode 100644 src/main/groovy/com/y**t**/payment/common/PaymentServiceFact
ory.groovy
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (develop)
$ git status
On branch develop
Your branch is up-to-date with 'origin/develop'.
nothing to commit, working directory clean
robin@robin-PC2 /D/JavaWorkSpace/payment/payment-facade (develop)
$
【git】切换分支获取代码的更多相关文章
- git切换分支导致代码丢失找回(git reflog找回错误的重置)
1.使用git reflog查看日志 2.切换到丢失的分支 3. 创建一个临时分支 如(diff),并切换到dev(原分支),然后合并diff到dev分支 4.查看状态 5.强制合并,然后提交到de ...
- git学习心得之git跨分支提交代码
最近在工作中遇到了git跨分支提交代码的问题,本地拉的是远程master分支的代码,需要将本地修改代码提交到远程temp分支. 1.在gitlab上对相应项目fork本地分支 2.更新本地代码,将远程 ...
- git切换分支保存修改的代码的方法(转载)
转自:http://www.tonitech.com/2344.html 最近在一个原有的项目上做一次非常大的改版,底层的数据库做了很大的变化,跟现在的版本无法兼容.现在的工作除了开发最新的版本之外还 ...
- 前端使用Git 切换分支 查看线上远程,本地切换
想要使用Git切换线上分支时先 得先查看线上分支 git branch -a //查看线上分支 git branch //查看本地分支 这是线上的分支图(当前是master) 知道有那些分支就可以进行 ...
- Git切换分支开发
入职第一家公司做开发的时候使用的项目版本管理工具是svn,公司内部搭建的服务器:在第二.第三家公司做开发的时候,使用的项目版本管理工具是Git,现在大多数公司使用的也是Git.刚进入公司的时候首先做的 ...
- git切换分支报错:error: pathspec 'origin/XXX' did not match any file(s) known to git
项目上有一个分支test,使用git branch -a看不到该远程分支,直接使用命令git checkout test报错如下: error: pathspec 'origin/test' did ...
- git 切换分支
# 查看git源 git remote -v git remote set-url origin http://mingzhanghui@xx.xx.xx.xx:8090/r/ENSO/weba ...
- Git切换分支出现提示'SSL端口:44301'及解决方案
切换分支出现如下提示,并且自动签出了项目文件csproj. 修改项目文件csproj 修改前: <UseIISExpress>true</UseIISExpress> < ...
- git切换分支后远程提交报错
切换分支后提交,报错如下 解决办法
随机推荐
- c++中静态成员变量 静态成员函数 全局变量与静态函数的关系 字符串中括号的匹配编程 (笔试经历)
笔试经历 1 类中的静态变量不能通过构造函数参数列表来初始化,因为静态变量不属于哪个对象.同时静态变量在不初始化的情况下系统会自动为变量赋值,数值型赋值为零,字符型赋值为空. 非静态变量只有在定义时才 ...
- C++ (P70—P96)
1 类的成员默认为私有模型 2 类的声明内不允许对数据成员进行初始化 3 类的成员函数,如果在类外定义,只需在函数类型之前加上inline就为内联函数了,如果在类内定义函数则该函数自动成为内联成员函数 ...
- c/c++将整数转换为字符串
#include <iostream> using namespace std; int main(int argc, char **argv) { ; iint i,j; ],e[]; ...
- C语言结构体赋值2
#include <stdio.h> /** 上一个版本的name是固定大小的,不好,这次换用 *name然后 采用 堆的方式申请内存,起到用到少拿多少的一个方式. */ struct s ...
- [phpmyadmin] phpmyadmin select command denied to user
phpmyadmin 在查看一个数据库中Table的数据的时候,会提示 select command denied to user 在Ubuntu下,我是使用重装Phpmyadmin的方式解决的 卸载 ...
- 目前电脑的硬件尺寸参数,计划弄个小一些的ATX机箱
显卡:讯景R9 370x 尺寸:234×115×39mm 主板:技嘉GA-970A-DS3P 尺寸: 30.5X21.5 cm
- dirname(__FILE__) 的使用总结
dirname(__FILE__) php中定义了一个很有用的常数,即 __file__ 这个内定常数是当前php程序的就是完整路径(路径+文件名). 即使这个文件被其他文件引用(include或re ...
- PHP之数组函数归类
数组之所以强大,除了本身声明.存储方式灵活,它还有坚强后盾:一系列功能各异的数组处理函数.就像一只军队,除了领队将军本身能征善战,指挥英明之外,还有一群不怕死.忠实于他的士兵,这样才能显得整体的强大. ...
- asp图片化电话号码,避免蜘蛛之类爬走用户隐私
作用:将页面中的电话号码生成图片格式.挺多的分类信息类网站使用这个功能.不用真正的生成图片.原理类似验证码,挺不错的. <% Call Com_CreatValidCode(Request.Qu ...
- Android之Http网络编程(四)
前面几篇博文简单的介绍了一些常见的Http的操作,这些操作几乎都是在新开的线程中进行的网络请求,并在日志中打印出获取到的网络数据.那么,问题来了!(呃~感觉下一句是蓝翔有木有?)如何在把获取到的网络数 ...