A streamlined travel planning web application
- clone the project repo
git clone https://github.com/hratx-blue-ocean/GoThere.git
- Navigate to the GoThere/client
run npm install
Before beginning any work on new features, pull from the pre-production branch to update your local code to the most recent version:
- switch to the pre-production branch
git checkout pre-production
- Pull most recent commits
git pull origin pre-production
Create a new feature branch if needed
git checkout -b <new branch name>
otherwise
Switch to the feature branch
git checkout <branch name>
- Check the current branch you are on
git branch
- Merges any changes pulled from the pre-production into the feature branch
git rebase pre-production <feature branch>
- Do all of your work on your feature branches
- When you are ready to save changes, commit and push to the branch.
git add
git commit
git push origin <branch-name>
- When you are ready to merge your feature branch to the pre-production branch, open a pull request
- Be sure to pull into the base repository/pre-production branch from the correct feature branch
base : pre-production from compare : feature-branch
- Include the ticket number in the pull request body
- Tag a team member in a comment for review before merging
- When the pull request is approved, merge the pull request
- Then, add the new changes to your local repo:
git checkout pre-production
git pull origin pre-production
- witch back to whatever branch you were working on
git checkout <branch name>
git rebase pre-production <branch name>