Skip to content

Latest commit

 

History

History
82 lines (72 loc) · 2.24 KB

README.md

File metadata and controls

82 lines (72 loc) · 2.24 KB

Git exercise

Task

Your task is use git commands to complete requirements below in github.

Requirements

Git commands line training on must be used in the exercise and you have infomation:

Issues:

  • Coding UI.
# Push file register.html with content
<html>
  <head></head>
  <body></body>
</html>
  • Coding Process.
# Push file process.php with content
<?php
echo 'process 1';
echo 'process 2';
echo 'process 3';
echo 'process 4';
  • Coding Unit Test.
# Push file unit-test.php with content
<?php
echo 'unit test 1';
echo 'unit test 2';
echo 'unit test 3';
echo 'unit test 4';
  • Fix bug 1.
# Push file process.php with content
<?php
echo 'fix process 1';
echo 'process 2';
echo 'process 3';
echo 'process 4';
  • Fix bug 2.
# Push file process.php with content
<?php
echo 'fix process 1';
echo 'fix process 2';
echo 'process 3';
echo 'process 4';
  • Fix bug 3.
# Push file unit-test.php with content
<?php
echo 'fix unit test 1';
echo 'fix unit test 2';
echo 'unit test 3';
echo 'unit test 4';

Please remember, save git command line used for steps bellow at end of file README.md!

  • Step 1: clone this repository, create new issue.:+1:
  • Step 2: make new branch follow rule feature/issue_{issue number}-{feature name} on repository:+1:
  • Step 3: commit and push tasks Coding UI, Coding Process, Coding Unit Test to the branch on Step 2 (1 or more commit/ task), follow Saigontech's Git commit rule👍
  • Step 4: change description commit Coding Unit Test is "{Your name} Coding Unit Test and Functional Test":+1:
  • Step 5: commit and push tasks Fix bug 1, Fix bug 2, Fix bug 3 follow Saigontech's Git commit rule (1 or more commit/ task) 👍
  • Step 6: rebase branch feature/issue_00-List-Screen.:+1:
  • Step 7: rebase commit use "fixup" squash Fix bug 1, Fix bug 2, Fix bug 3 to commit Fix bug.:+1:
  • Step 8: handle conflict rebase branch feature/issue_00_Register-Screen.:+1:
  • Step 9: cherry pick commit #00 Add new screen register 2 from branch feature/issue_00-Update-Register-Screen.:+1:
  • Step 10: add file HEAD (.git\logs\HEAD) and change file name is head-log.txt into your branch. 👍

Final, you pull request your branch to develop branch! ⚾

👏👏👏