To run project in gitlab we should know some basic command such as:
1. To clone project from gitlab: by using gitBash:
$ git clone git@gitlab.com:setyuth/taxpayerprofiles_management.git
Note: setyuth is the username of the project owner which you gonna clone.
2. Before we can commit(push) or update(pull), we should go to our project folder first:
Note: In gitlab to be able to push or pull you have to add SSH Keys to your account:
$ cd taxpayerprofiles_management/
Note: taxpayerprofiles_management is the name of project.
3. Update To Head:
$ git pull origin master
4. Commit our source code to gitlab:
$ git add --all $ git commit -m "add test jsp page" $ git pull origin master $ git push origin master
Note: commit -m : "add test jsp page" is the message, pull : update first before push, push : to commit source code to gitlab
5. To run spring boot maven project in your command:
$ ./mvnw spring-boot:run