When developers work on a project, especially if they are working with others, they do not commit changes directly to the main branch. Instead, they work on separate feature branches.
All students should follow these next steps.
You should have the github-workflow repository cloned down and open in VS Code.
- In the VS Code terminal, run this command to create a new branch, replacing
Xwith your corresponding letter:
git checkout -b feature-X
For example, Student C would rungit checkout -b feature-C.
- Run
git statusorgit branchto verify that you are now on the new feature branch.
Tip
Using descriptive branch names will help you and your team stay organized! The name should reflect the changes that will be committed on that branch.
- Open
README.md. On line 3, write the following text as follows:- Student A should write
To improve is to change. - Student B should write
There is nothing permanent, except change. - Student C should write
All that you change, changes you.
- Student A should write
- Save your changes to the file.
- Commit these changes with the message "Add feature X", replacing
Xwith your corresponding letter.
→ Continue to Pull Requests
