mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 08:26:17 -04:00
31 lines
599 B
Markdown
31 lines
599 B
Markdown
git-sync(1) -- Sync local branch with remote branch
|
|
=================================================================
|
|
|
|
## SYNOPSIS
|
|
|
|
`git sync` <remote> <branch>
|
|
|
|
## DESCRIPTION
|
|
|
|
Sync local branch with <branch> of <remote>.
|
|
All changes and untracked files and directories will be removed.
|
|
|
|
## EXAMPLES
|
|
|
|
Sync local branch with origin/master
|
|
|
|
$ git sync origin master
|
|
|
|
## AUTHOR
|
|
|
|
Written by Takuma Yamaguchi <<kumon0587@gmail.com>>
|
|
|
|
## REPORTING BUGS
|
|
|
|
<<https://github.com/tj/git-extras/issues>>
|
|
|
|
## SEE ALSO
|
|
|
|
<<https://github.com/tj/git-extras>>
|
|
|