modified description of newt sync
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/8dcf9798 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/8dcf9798 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/8dcf9798 Branch: refs/heads/develop Commit: 8dcf9798795faa4c5f9a03264cc311d58343694f Parents: 86bc11d Author: aditihilbert <[email protected]> Authored: Thu Mar 2 16:56:45 2017 -0800 Committer: aditihilbert <[email protected]> Committed: Thu Mar 2 16:56:45 2017 -0800 ---------------------------------------------------------------------- docs/newt/command_list/newt_sync.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8dcf9798/docs/newt/command_list/newt_sync.md ---------------------------------------------------------------------- diff --git a/docs/newt/command_list/newt_sync.md b/docs/newt/command_list/newt_sync.md index abf8c9b..bc8f243 100644 --- a/docs/newt/command_list/newt_sync.md +++ b/docs/newt/command_list/newt_sync.md @@ -1,15 +1,16 @@ ## <font color="#F2853F" style="font-size:24pt">newt sync </font> -Synchronize project dependencies. +Synchronize and refresh the contents of the local copy of all the repositories used in the project with the latest updates maintained in the remote repositories. #### Usage: ```no-highlight - newt version [flags] + newt sync [flags] ``` #### Flags: ```no-highlight - -f, --force Force overwrite of existing remote repository + -f, --force Force overwrite of existing remote repository + #### Global Flags: ```no-highlight -h, --help Help for newt commands @@ -21,4 +22,5 @@ Synchronize project dependencies. -v, --verbose Enable verbose output when executing commands ``` #### Description -Synchronize project dependencies and repositories. Use -f to force overwrite of existing repository. + +Synchronize project dependencies and repositories. Prior to 1.0.0 release, the command deletes and resynchronizes each repository. Post 1.0.0, it will abort the synchronization if there are any local changes to any repository. Using the -f to force overwrite of existing repository will stash and save the changes while pulling in all the latest changes from the remote repository.
