- Clone project:
$ git clone https://github.com/pcode-at/clean-code-adventure.git
- Navigate in the
clean-code-adventure
folder - Install node_modules:
$ yarn install
- Checkout actual branch:
$ git checkout <firstname-lastname>
(like:$ git checkout nico-peham
)
$ yarn test
If something has changed in the remote repository you have to pull or fetch these changes:
- pull:
$ git pull
- fetch:
$ git fetch
If one test is working you can commit and push your code as follows:
- Add files to working tree:
$ git add .
- Commit changes:
$ git commit -m "commit message"
- Push commit(s) to remote repository:
$ git push
Tip: You can also use the git features that your IDE, like VS Code, provides you.
If all given tests are working than you can open a Merge request for signaling that your code is ready to be reviewed:
- Make sure you have pushed all your code
- Go to: https://github.com/pcode-at/clean-code-adventure/branches
- Click on the button "Merge request" of your actual branch
- Give it a proper name like "working tests js-vanilla/array"
- If you want to add further informations then put it in the comment section
- Choose 'npeham' as Assignee
- Don't change source or target branch
- Select "Squash commits when merge request is accepted."
- Click on "Submit merge request"