Comments (4)
学习到的新命令...
Here are all the Git commands I used last week, and what they do.
# 合并当前分支与对象分支branch
git merge <branch>
# 查看修改状态
git status
git diff --stat
# 根据Commits ID回退到某个提交
git checkout <Commits ID>
# 回退后的提交,需要加上-f
git push -f origin master
# 整合本地的细粒度提交(还未提交到远端仓库)
git rebase -i HEAD~4
# 需要对pop up 的提交信息做修改,使用fixup 忽略提交信息,只保持一个pickup提交信息
# 使用--amend保持修改
git commit --amend
from coding-playground.
git tag -a <tagName> -m "Info"
# 推送所有本地标签到远端仓库
git push origin --tags
from coding-playground.
from coding-playground.
git diff
from coding-playground.
Related Issues (17)
- closure function HOT 5
- golang function method lambda function HOT 4
- Golang can't import self defined package HOT 3
- using MXNet framework in game price predict
- golang gdb and golang test command HOT 5
- Go Concurrency Related
- 使用Docker与Docker-Compose HOT 1
- 调整100-days-of-coding的安排 HOT 1
- bytes[] string conversion HOT 7
- python decorator HOT 3
- Encapsulation inheritance polymorphism in go HOT 1
- go sync package HOT 2
- xgboost python usage HOT 2
- raspberry wiringPi package usage HOT 3
- Linux Shell Command HOT 5
- golang slice HOT 3
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 coding-playground.