Skip to content

Commit

Permalink
docs: specify main branch for git init in quickstart guide (#1523)
Browse files Browse the repository at this point in the history
### What this PR does / why we need it:
this PR is related to the quick-start guide in the CLI docs and was
mentioned in #1433 and #1415.
It adds the "-b main" flag to the "git init" command, ensuring that the
main branch is created when initializing a new git repository.

### Which issue(s) this PR fixes:
the issues are already closed, it implements the suggested improvement
from @serdardalgic

### Does this PR introduce a user-facing change?
Yes, it updates the quick-start guide


### Why another PR ? 
I did not sign my commits in the old PR and could not resolve the issue
  • Loading branch information
RocketRene authored Mar 5, 2024
2 parents 40d445d + 1182de3 commit dcde4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cli/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ inside a repository to work: one commit to compare the changes to and another co
As a first step, create a new git repository and navigate into it:

```sh
git init terramate-quickstart
git init -b main terramate-quickstart
cd terramate-quickstart
```

Expand Down

0 comments on commit dcde4ac

Please sign in to comment.