![]() If thenĮcho "" echo "DEPLOY CONFIGURATION" sudo -u tomcat ant deploy-configurationĮcho "" #Start Tomcat cd " $TOMCAT /bin" sudo -u tomcat. This simply means that the local repositorys changes require a push to the. This functionality can be enabled in /etc/sudoers file.Īnd add the following line git ALL = (tomcat) NOPASSWD: ALL However, note that the remote repository is missing Commit 3 from Branch Feature1. Step 2: Use the -m flag to rename the branch You can use this syntax to rename the old branch to something new. To allow the deployments, which involve stopping and starting Tomcat server, git user should be able to run tomcat as tomcat user. Step 1: Make sure you are in the master/main branch To check if you are in the master/main branch, run git status: If you are not in the master/main branch, then you will need to run git checkout master or git checkout main. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |