Skip to content

Add missing content to cli-create.md #1001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 8, 2019

Conversation

AnotherButler
Copy link
Contributor

Add offline mode and updating sections from legacy documentation.

Add offline mode and updating sections from legacy documentation.

#### Updating a program
You can update programs and libraries on your local machine so that they pull in changes from the remote sources (Git or Mercurial).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"pull in changes" sounds very colloquial, and may not mean much in this context. Perhaps "update to the latest released version" would be a better replacement.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


#### Protection against overwriting local changes

The update command fails if there are changes in your program or library that `mbed update` could overwrite. This is by design. Mbed CLI does not run operations that would result in overwriting uncommitted local changes. If you get an error, take care of your local changes (commit or use one of the options below), and then rerun `mbed update`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What options below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

theotherjimmy and others added 2 commits March 8, 2019 10:15
Make changes requested in comments for clarity.
@AnotherButler AnotherButler merged commit c12cc8f into development Mar 8, 2019
@iriark01 iriark01 deleted the AnotherButler-patch-5-1 branch April 16, 2019 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants