Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

[Japanese page] git remote add branch should be main, not master. #764

Closed
yt03sakamo opened this issue Nov 11, 2022 · 2 comments · Fixed by #1012
Closed

[Japanese page] git remote add branch should be main, not master. #764

yt03sakamo opened this issue Nov 11, 2022 · 2 comments · Fixed by #1012
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort good first issue Related to contributions. See CONTRIBUTING.md p1

Comments

@yt03sakamo
Copy link

Describe the bug

The description of git remote add to codecommit specifies master as the branch, which is not appropriate.
This is because if you create a branch in git without specifying anything, the branch name will be main.
When you run it, an error occurs and you cannot proceed with the procedure.
The branch name has been main since October 2020, so users who have been using git since before then may not encounter this problem.

Expected Behavior

Being able to proceed to the next step once the command has been specified and typed.

Current Behavior

The following error occurred when I followed the steps described.

The following error occurs because the branch name in git is main.

error: src refspec master does not match any

Reproduction Steps

No code to be submitted due to text correction request.

Possible Solution

Can you change the shell or annotate the shell?

Additional Information/Context

In the English documentation, the branch name is main, but the Japanese documentation is master.

CDK CLI Version

No response

Section

No response

Browser

No response

Language

No response

@yt03sakamo yt03sakamo added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 11, 2022
@indrora indrora added good first issue Related to contributions. See CONTRIBUTING.md effort/small Small work item – less than a day of effort p1 and removed needs-triage This issue or PR still needs to be triaged. labels Feb 28, 2023
@stefanfreitag
Copy link
Contributor

Hi @indrora, if you are fine I would try to come up with a PR.

I think there needs to be also a change to the image for the english and japanese versions

In the image also "master" in mentioned in the drop down for the branches.

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort good first issue Related to contributions. See CONTRIBUTING.md p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants