Using Git with Smartface Cloud IDE to Manage and Sync Projects

Each application project is actually a standalone Linux system and almost any Linux commands are available in the Smartface Terminal. You can also use the Terminal for source control for Git, Mercurial and SVN repositories.


To learn git in detail, you can check git commands here.

How to use Git in IDE and in the terminal?

When creating a new app project (workspace), you can clone a git project by just typing your git project URL as shown below:

In the Workspace, the SOURCE CONTROL tab can be opened by the left panel, you can check your codes change as a Working Tree by clicking on the file name twice.

Smartface bash terminal also shows the changed files by typing git status command.

You can add your changes in the working directory by clicking on the first right plus button or typing git add <file> command in Smartface bash.

the next button is to open the file.

the back arrow button is to discard changes in working directory which can be executed by git checkout -- <file>

From the header of SOURCE CONTROL tab you can capture the state of the project. Click on the tick button to commit your change after filling the message. git commit -m "my message"

the third dots button display all the commands as shown below.

ou can push your commits to upload local repository from Smartface bash terminal. Note: you will insert your credentials,

SSH Keys

Git repositories require http or ssh to connect them. In order to complete the ssh setup, you need to have a ssh key and register that ssh key to your Git, Bitbucket or similar services. You can easily get your ssh key from the Smartface Cloud IDE.

How to supply your key to your Git provider:

With this method, Smartface Cloud allows you to create new app projects from private repositories using SSH connection. After the SSH key import process, these repositories can also be accessed without additional authentication so that you don't need to supply credentials for commands such as git push, pull, fetch, etc.


Please be aware of the extent of the direct repository access while using collaboration in your app project. Once you are connected to your repository through SSH, your collaborators won't need confirmation to use commands such as git push, pull, fetch, etc. for your repository. You can consider collaboration as a way to share your personal development environment.