UCL-COMP0233-23-24 / RSE-Classwork

3 stars 67 forks source link

Learning branches with git #2

Open dpshelio opened 11 months ago

dpshelio commented 11 months ago

In pairs, using github's visualisation tool as shown in class, do the steps needed to replicate the repository structure shown below. You can undo steps with the undo command. With clear you will start from the beginning.

:exclamation: hash numbers for the commit are going to be different and the final shape of the graph may look slightly different.

:heavy_check_mark: When done, take a screenshot of your result and create an issue in your fork that includes the screenshot of the result, a code block with your steps and a link to this issue.

git graph to replicate

To add a code block with your steps use the following syntax:

```bash
git commit -m "First commit"
git ...
that will render as:
```bash
git commit -m "First commit"
git ...

To refer back to this issue you need to add the following text to your issue message:

Answers UCL-COMP0233-23-24/RSE-Classwork#2

That creates a link that will appear under this issue.

1273758078 commented 11 months ago

我的git指令

dpshelio commented 11 months ago

@1273758078 you shouldn't post it in this issue, but rather in your own fork of this repository as an issue, and there mention this issue as explained in the top. Take a look to how everyone did it in the links that appear between your post and the top one.