Adding a file or directory to a repository from the SourceCraft interface
- Open the SourceCraft home page.
- On the
Home tab, navigate to Your craftspace → Repositories. - Select the repository with the code you need to edit.
- Under
Code on the repository page, go to Overview. - Select the branch for editing.
- Above the list of files in the branch, click
. - Select
File or Directory. - In the window that opens, enter a file or directory name and click Create file or Create directory respectively.
- To save your changes, click Commit changes in the top-right corner.
- In the window that opens, configure the change parameters:
- In the Commit message field, specify the comment describing the changes you have made.
- Under Commit branch, select the branch you want to edit. If required, create a new branch.
- Under After commit action, select an action to take after saving changes:
Save and create a new change proposal
orJust save
.
- Confirm your changes.