Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor issues in Introduction to Git #35

Closed
Voodu opened this issue Nov 5, 2022 · 1 comment
Closed

Minor issues in Introduction to Git #35

Voodu opened this issue Nov 5, 2022 · 1 comment

Comments

@Voodu
Copy link

Voodu commented Nov 5, 2022

Describe the bug

There are two minor issues in the steps of unit Exercise - Try out Git:

Initializing git repository for git 2.28.0+ it says:

Issue 1

If you're running Git version 2.28.0 or later, use the following commands:

git init --initial-branch=main
git init -b main

As far as I see, only one of those should be used, as they do the exact same thing:

Issue 2

Later the whole unit mentions master as the branch name. It should be main according to the init parameters.

To Reproduce

  1. Go to Exercise - Try out Git
  2. Go through the exercise steps

Expected behavior

Command to init git repo should look something like:

git init --initial-branch=main
# OR
git init -b main

main should be used instead of master in the remaining part of the unit.

Screenshots

N/A

Desktop (please complete the following information):

  • OS: N/A
  • Browser N/A
  • Version N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser N/A
  • Version N/A

Additional context

N/A


🎓 Add a tag to this issue for your current education role: student, Student Ambassador or educator.

Student Ambassador


@Voodu
Copy link
Author

Voodu commented Nov 5, 2022

I haven't noticed it's a duplicate of #32

@Voodu Voodu closed this as completed Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant