first you clone your git repository, then automatically create a folder in the document folder.
then your war file will exit your clone directory in the webapps folder
and create a test folder, paste your code into the folder, as well as the root war file.
then your ulr in your folder will write and enter.
eg
like this.
git clone ssh:// 5565c850e0b8cd07580001ba@yourdomain.rhcloud.com
Paste the extracted warrior file into your clone directory.
then fire git commmand
$ git add . $ git commit -m "A checkin to my application" $ git push
user4610470
source share