The first step for using gitYou can understand here how to use git to upload files after you create a project. We assume that you've already completed the following things.
If you haven't done either of it yet, please complete them first and then go back to this page again. Install gitIf you haven't installed git yet, please follow the link below to install it. If you've already installed git, please skip this part and go to the next.
Initialize/clone the project repositoryFirst, go to the directory you want to put the project source codes. All projects are already initialized in internal fluxflex git servers when you created projects. Thus, you need to clone the project repository first into your local environment. You can find the path of the project git repository on "Project Home" -> Setup -> "Git" page. ![]() On you local environment, type the following command. $ git clone ssh://git@flx.fm:443/projectnameThe "projectname" will be altered to your actual project name. Then, you can see that some files are added in your environment like follows.
Add test.html file under public_html directory and save the file. The file path will be public_html/test.html. Then use git to add and commit the file. $ git add public_html/test.html$ git commitPlease write any comment to remember the contents of the commit. Then, now you reflect the modification to fluxflex's remote cloud hosting servers. $ git pushSome popular command patterns for using gitHere are popular command patterns for using git.When you modified the source codes:
|
