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
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
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
The text was updated successfully, but these errors were encountered: