MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Way to Share Projects Procedure


Publish on GitHub®. You can share a project by making it publicly available on
GitHub. You must first have a GitHub account.


Sharing a project on GitHub adds Git source control to the
project. If your project is already under source control,
sharing replaces the source control configuration with Git,
andGitHub becomes the project's remote repository.

NoteIf you do not want to change your current source
control in the open project, share the project in another
way.

To share a project on GitHub:

(^1) With a project loaded, on the Project tab, select
Share > GitHub. The Create GitHub Repository
dialog box opens.
If GitHub is not an option in the Share menu, select
Share > Change Share Options. Then, in the
Manage Sharing dialog box, select GitHub and click
Close.
(^2) Enter your GitHub user name and password, and edit
the name for the new repository. Click Create.
A warning prompts you to confirm that you want to
create a public repository and modify the current
project’s remote repository location. To continue, click
Yes.
(^3) The Create GitHub Repository dialog box displays the
URL for the new repository. Click the link to view the
new repository on the GitHub website. The repository
contains the initial check-in of your project files.
(^4) The source control in your current project now
references the new repository on GitHub as the
remote repository. To use the project with the new
Share Projects

Free download pdf