User guideCode Editor for Mac
Git and remote folders
Clone a branch, choose what to commit, or edit a file on an SFTP server.
Clone a repository
- In Projects, choose Clone from GitHub. For a public repository select URL and paste its HTTPS clone URL. For a private repository choose an account with access. Add an account in Manage Connections… if needed.
- Leave Branch empty for the repository’s default branch or enter the branch you need. Click Clone. The resulting local working copy appears as a project folder.
Commit and push from Mac
Edit and save a file, then open Git. Stage the files you intend to include using their checkboxes. In Commit…, verify the branch, file count, author and email, then enter a message. With nothing staged, the commit sheet proposes all changed files. Stage just the relevant files first when you need a partial commit.
After committing, use Push to send local commits to the remote. Fetch updates information about the remote. Pull brings remote changes into the local branch. If Push fails after a successful commit, check the remote account’s write access and the message in the Git panel.
Open and save a file over SFTP
- Open Manage Connections…, add an SFTP server, and enter its host, port, username and authentication details. Use Test Connection. On first contact, compare the server key fingerprint with the one supplied by its administrator before trusting it. Save the profile.
- Choose Open from SFTP in Projects, then select the saved server and the folder to open. Expand a folder and open a file. Its contents are downloaded into the local cache.
- Saving an edit writes back to the server. For a first test use a file you can safely change. Check the Remote inspector for the server, folder and any transfer error.
Refresh a remote folder
Refresh List requests a fresh listing. Sync Folder brings the folder tree into the cache, which is useful when searching files you have yet to open. Upload File sends a local file to the remote folder. WebDAV profiles use a server address and credentials. S3 profiles identify the bucket and region, with a custom endpoint for compatible services.