git-clone, git-pull: add Chinese Translation (#8499)

This commit is contained in:
kasodesyn
2022-09-19 19:37:59 +08:00
committed by GitHub
parent 3e182df3ba
commit bc0b1f2736
2 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# git pull
> 从远程代码库拉取分支,并将其合并到本地代码库。
> 更多信息:<https://git-scm.com/docs/git-pull>.
- 从默认的远程分支中拉取代码并执行合并:
`git pull`
- 使用快进功能(快进到含义为:先清空暂存区,再执行合并,最后恢复暂存区),从默认的远程分支拉取代码并执行合并:
`git pull --rebase`
- 从给定的分支中拉取代码,并执行合并到对应分支:
`git pull {{远程分支名}} {{本地分支名}}`