Skip to content

Commit 8f56f56

Browse files
committed
Modify orphan instructions
1 parent 5edf967 commit 8f56f56

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

assignments/04-vcs-constructive.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ sure you have `clang-format` installed if so).
2626

2727
1. A number of the following questions ask you to tell us what commands you
2828
used. Put your answers in the `answers.txt` file in the `answers` branch.
29-
**Create a local `answers` branch based on the initial one by running `git
30-
checkout -b answers origin/answers`.** (Since this is such a common
31-
operation, you can also use the shorthand `git checkout answers` to do the
32-
same thing.) As you answer our questions, make commits to that branch. You
33-
may commit your answers either one-by-one or all at once, but make sure
34-
you've committed them by the time you submit!
29+
**Create a local orphan `answers` branch by running `git
30+
checkout --orphan answers` and then `git rm -rf .`** Make an empty
31+
`answers.txt` and commit it to the `answers` branch. As you answer our
32+
questions, make commits to that branch. You may commit your answers either
33+
one-by-one or all at once, but make sure you've committed them by the time
34+
you submit!
35+
The point of this is to separate your answers from the rest of the messy
36+
commit history you'll be creating.
3537
1. A user named Gianna opened a GitHub issue pointing out that the project has
3638
no LICENSE file, meaning she doesn't know if she's allowed to use the
3739
software in the way she wants. You did some research and found that the [MIT

0 commit comments

Comments
 (0)