pull commits from the specified source
Pull commits from a remote repository to a local one. This command modifies the commit graph, but doesn't mutate local commits or the working copy.
-B/--bookmark to specify a remote bookmark to pull. For Git
repos, remote bookmarks correspond to branches. If no bookmark is
specified, a default set of relevant remote names are pulled.
If SOURCE is omitted, the default path is used. Use
--add to add a named source.
sl help urls and
sl help path for more information.
- pull relevant remote bookmarks from default source:
- pull a bookmark named my-branch from source my-fork:
sl pull my-fork --bookmark my-branch
You can use
. for BOOKMARK to specify the active bookmark.
Returns 0 on success, 1 on failure, including if
specified but the update had unresolved conflicts.
|update to new branch head if new descendants were pulled|
|run even when remote repository is unrelated|
|a remote commit to pull|
|a bookmark to pull|
|rebase current commit or current stack onto master|
|specify merge tool for rebase|
|destination for rebase or update|