Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GIT
- --switch to develop branch
- git checkout develop
- -- to check status
- git status
- --get latest in develop from remote to local
- git pull --rebase origin develop
- --create a branch
- git branch feature/SE-489
- --swtich to branch
- git checkout feature/SE-489
- —commit locally
- git add --all
- git commit -m "<<write comment>>"
- --merge with develop branch locally
- git checkout develop
- git merge feature/SE-489
- --push to develop in remote from local
- git push origin develop
- —revert a file
- git checkout —- file path
- --run cucumber tests
- mvn clean install -Dcucumber.tags="--tags @SE-314 --tags @complete" -Denv=sppd_dev_ansu
- --run specific one
- mvn clean install -Dcucumber.tags="--tags @SE-489" -Denv=sppd_dev_ansu
- --run all tests
- mvn clean install -Denv=sppd_dev_ansu
- MERGING MASTER
- git pull origin develop
- git checkout master
- git pull origin master
- git merge --squash develop
- git commit -m "commit description"
- git push origin master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement