- Go to the FRONTEND/newFrontEnd/apTime folder
- Open the terminal/command prompt and run:
- npx npm-force-resolutions
- npm install
- ng serve -o
clone the repo.
- For linux based os:
- switch to bashiirUserUathFeature branch (git checkout bashiirUserUathFeature)
- cd to userAuth/userAuth.
- Open terminal and run: ./mvnw spring-boot:run -Dspring-boot.run.profiles=dev
- For windows os
- manually install maven.
- then run mvn spring-boot:run -Dspring-boot.run.profiles=dev.
Typically there are two ways to sync your personal branch with other (TestMaster
) branch: merge
or rebase
(For the difference between merge
and rebase
, and other details, please check https://www.atlassian.com/git/tutorials/merging-vs-rebasing)
merge
:- Firstly, please sync your local repository:
git checkout your-branch
git fetch origin
git pull
- Then, merge the target branch into your own branch:
git merge TestMaster (or other branch name)
- Then, push the changes into central repository:
git push
- Done. Your branch is syned with the target branch.
- Firstly, please sync your local repository:
rebase
- Firstly, please sync your local repository (same with
merge
):git checkout your-branch
git fetch origin
git pull
- Then, rebase the current branch with the target branch:
git rebase TestMaster (or other branch name
- Now you should push the changes into central repository:
git push
- Done. Your branch is synced with the target branch.
- Firstly, please sync your local repository (same with
Besides CLI (Command-line interface), we can also sync the branch via github website:
- Open the target branch (
TestMaster
) in the web browser; - Click
New Pull Request
button; - In the
Compare changes
page, click theBase
dropdown box, choose your branch as the base branch; - If there are any unsynced commits, the page will show the differences, and let you create a new PR with proper name and description;
- After the PR is created, you should be able to merge the PR into your branch. Then your branch is synced successfully.