Create and push a new file (Mercurial)
When you add a new file to your repository, you need to add, commit, and push that change to your remote repository. After you create the file, you'll notice it in Sourcetree.
From the options menu of the new file, select Add file.
- Click the Commit button at the top to commit the file.
- In the message box, enter a commit message.
Click the Commit button under the box. You can now see your change under the History section.
From Sourcetree, click the Push button to push your committed changes.
From the dialog box that appears, click OK.