mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 21:42:08 +02:00

* git-a*: add and update Korean translation * git-b*: add and update Korean translation * git-*: add and update Korean translation * Update git-standup.md --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
17 lines
469 B
Markdown
17 lines
469 B
Markdown
# git sync
|
|
|
|
> 로컬 브랜치를 원격 브랜치와 동기화.
|
|
> `git-extras`의 일부.
|
|
> 더 많은 정보: <https://github.com/tj/git-extras/blob/master/Commands.md#git-sync>.
|
|
|
|
- 현재 로컬 브랜치를 해당 원격 브랜치와 동기화:
|
|
|
|
`git sync`
|
|
|
|
- 현재 로컬 브랜치를 원격 main 브랜치와 동기화:
|
|
|
|
`git sync origin main`
|
|
|
|
- 추적되지 않은 파일을 삭제하지 않고 동기화:
|
|
|
|
`git sync -s {{원격_이름}} {{브랜치_이름}}`
|