Clarify description of `--alias` flag for `deploy` command
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli, documentation
Research direction
Start with the deploy documentation linked in the issue and locate the --alias description. Read the linked support-forum context to clarify the remaining connection with Git branches, then update the explanation so its behavior and purpose are unambiguous; the deploy docs should clearly explain what the flag does and why it affects preview URLs.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
We got some docs-related feedback about the --alias flag for the deploy command.
The alias flag was renamed to from the branch flag, and the branch flag is now deprecated. Your explanation makes sense if you think about it as if the flag is named branch because then I could say “well I’m deploying the branch which I have defined as my production branch so I expect it to go to prod”. But if the flag is named alias and the documentation says that this is useful in order to create a more predictable preview URL, then the association between that and what I chose to be the production branch is gone.
Essentially they’re still an implicit connection between “alias” and git branches.
Describe the solution you'd like
Additional content or edits to the deploy documentation, specifically the --alias description.
Additional context
Support Forums post with details about the confusion
Can you submit a pull request?
Yes (if provided more information)
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 474
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 53
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netlify/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
type: feature
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
type: bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
type: bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·