【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切换分支后远程提交报错
切换分支后提交,报错如下 解决办法
随机推荐
- NGINX server配置中if的用法
server的配置以php为例,如下: 1 server{ 2 root /var/webproject/www/mytools-php; 3 index index.html index.php; ...
- 用指令修改DOM
对于HTML5,input元素有autofocus这个属性,用户在第一次进入界面时就可以和用户交互,对于浏览器来说,可以 把键盘焦点定位在某个元素上,但是对于非input元素,则不可以,我们可以使用指 ...
- hdf5 api
https://www.physics.ohio-state.edu/~wilkins/computing/HDF/hdf5tutorial/index.html
- Ubuntu Linux---控制用户权限:root特权/sudo
借了本<Ubuntu Linux指南>开始学学乌邦图吧,熟悉之后再下个红帽来玩玩,现在说说我们一直提到的root,但是在Linux中,这个root有所不同...大多数Linux系统都为一个 ...
- Java内存溢出示例
按照java内存的结构,发生内存溢出的地方常在于堆.栈.方法区.直接内存. 一.堆溢出 堆溢出原因莫过于对象太多导致,看代码: /** * java 堆溢出 * VM Args:-Xms20m -Xm ...
- jquery uploadify修改上传的文件名和显示
如果觉得看文章太麻烦,可以直接看参考:http://stackoverflow.com/questions/7707687/jquery-uploadify-change-file-name-as-i ...
- JAXB - Annotations, The Object Factory: XmlRegistry, XmlElementDecl
To be able to create objects from XML elements, the unmarshaller must have an object factory with me ...
- Java内存分配全面浅析(转)
原文引自CSDN: 本文将由浅入深详细介绍Java内存分配的原理,以帮助新手更轻松的学习Java.这类文章网上有很多,但大多比较零碎.本文从认知过程角度出发,将带给读者一个 ...
- Android——控制UI界面
一.使用XML布局文件控制UI界面 res\layout\activity_main.xml代码如下: <FrameLayout xmlns:android="http://schem ...
- [jquery]基础篇--this与$this区别
参考: http://www.cnblogs.com/hannover/p/4109779.html 1.JQuery this和$(this)的区别 相信很多刚接触JQuery的人,很多都会对$(t ...