Create and push a branch to the remote repository (Mercurial)
Whenever you start on a new feature, you may want to create a branch. Branching offers a way to work on a line of development that is different from the main branch.
- From SourceTree, click the Branch button.
- From the Create a new branch field, enter a name for your branch.
- OK をクリックします。
- You're now on your new branch. Make any updates to the repository that you want to make to your branch.
- Open the History view in Sourcetree and notice that your repository now has uncommitted changes.
- 一番上の コミット ボタンをクリックしてファイルをコミットします。
- In the message box, enter a commit message.
Click the Commit button under the box. From the Sourcetree History view, you'll see that the file has been updated on your new branch.
Click the Push button to push your committed changes.
From the dialog box that appears, click the OK button to push changes to your local repository.
最終更新日 2018 年 9 月 27 日
Powered by Confluence and Scroll Viewport.