Comments (1)
原来的命令解释说明如下:
# 拉取远程的develop分支,并且当前分支(本地分支some-feature)合并上远程分支develop
git pull origin develop
git checkout develop
# 本地分支some-feature合并上some-feature
#【注意】已经这个分支已经有远程的develop修改了,所以本地develop无需再做远程pull操作
git merge some-feature
git push
平时自己的操作和你一样,一般不会在pull操作后面加参数,说实话,我也没有花时间去弄明白pull后面参数的的作用。
我的操作序列一般会是:(效果是等价的)
git checkout develop
git pull # 更新本地develop分支
git checkout some-feature
git merge develop #合并本地分支develop【上面更新过是最新了】
git checkout develop
git merge some-feature
git push
好处是参数的使用方式是常规的,结果是,一条命令变成4条。。。
了解后,我会使用指南中给的操作方式,更高效些。
from translations.
Related Issues (20)
- - HOT 3
- 译:CodeHaus Manifesto
- 译: A Look Into NASA’s Coding Philosophy
- 译: How Optional Breaks the Monad Laws and Why It Matters
- 整理译文: 分布式快照(Chandy-Lamport算法)
- 翻译: A practical introduction to functional programming HOT 1
- oldratlee域名已经被回收了 HOT 1
- 随机的int有问题 HOT 2
- overlapping-experiment-infrastructure-more-better-faster-experimentation 一处错误 HOT 1
- 翻译论文:Matching Objects with Patterns
- a-java-fork-join-framework 译文的一点疑问 HOT 3
- translate "Improving the Beginner’s PID – Introduction" HOT 1
- translate "State of Loom"
- translate clojure/FP articles of Uncle Bob HOT 1
- 1 HOT 10
- 翻译:The Art of Control Engineering: Science Meets Industrial Reality
- Fork/Join Typo HOT 2
- 关于Gitflow工作流中,维护分支和开发分支合并的疑问
- 翻译 TechnicalDebtQuadrant
- Java Fork/Join框架 2.1 一处笔误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translations.