【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切换分支后远程提交报错
切换分支后提交,报错如下 解决办法
随机推荐
- OAuth 2 Developers Guide--reference
Introduction This is the user guide for the support for OAuth 2.0. For OAuth 1.0, everything is diff ...
- Porsche Piwis Tester II “No VCI has been detected”,how to do?
Hi,Joy, I am sorry that my Porsche Piwis Tester II from your shop said “No VCI has been detected” wh ...
- 如何使用ZBLibrary-Android快速开发框架
1.下载: 点击右边这个地址 https://github.com/TommyLemon/Android-ZBLibrary 点击DownloadZip即可. 2.解压 3.用ADT-Bundle(集 ...
- Swift基础语法-内存管理, 自动引用计数
1. 工作机制 Swift和OC一样,采用自动引用计数来管理内存 当有一个强引用指向某一个对象时,该对象的引用计数会自动+1 当该强引用消失时,引用计数会自动-1 当引用计数为0时,该对象会被销毁 2 ...
- C#总结2
第三章 对于继承:继承是根据父类创建新子类的过程: 对于继承:例: Public class Father { public void say() { //dosomething } } Pu ...
- 关于XML的DTD概述
1 DTD概述 1.1 什么是DTD DTD(Document Type Definition),文档类型定义,用来约束XML文档.或者可以把DTD理解为创建XML文档的结构!例如可以用DTD要求XM ...
- JSON对象和string的相互转换
JSON.stringify(obj) 将JSON转为字符串. JSON.parse(string) 将字符串转为JSON格式.
- ADO.NET通用数据库访问类
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...
- 【C语言】03-printf和scanf函数
一.printf函数 这是在stdio.h中声明的一个函数,因此使用前必须加入#include <stdio.h>,使用它可以向标准输出设备(比如屏幕)输出数据 1.用法 1> pr ...
- 2014年下半年计划—写博客,旅游,带女朋友拍写真
前言:写这篇博客之前,一直在网上,看各位大牛写的博文,发布的视频等.当然由于自己的初来乍到,人生地不"熟"儿的,也吃了不少亏,走了不少弯路.本着一颗学习的心,携着向各 ...