Alias for Branches
See original GitHub issueWould it be possible to add command like configurations, e.g. Alias and Description for branches? I am having an issue where my branch names are becoming fairly long, and would improve ease of use of my CLI if descriptions and aliases for branches were avaialable.
app.Configure(config =>
{
config.AddBranch<AddSettings>("add", add =>
{
add.Alias("a") // <-- or something similar
add.SetDescription("Add something");
add.AddCommand<AddPackageCommand>("package");
add.AddCommand<AddReferenceCommand>("reference");
})
});
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:10 (9 by maintainers)
Top Results From Across the Web
git - Create a branch alias?
Git does not support aliases for branches. ... Specifically, take a look at the role of the integration branch and the release candidate...
Read more >Set Branch Alias with Git
Learn how to create branch aliases with git from command line so that you can check out a branch by alias.
Read more >git alias for merging current branch with master
I'm trying to create a git alias that merges the currently checked out branch into the master branch. Specifically I'd want to quickly...
Read more >Assign an Alias to a Branch
An Alias helps point to a particular branch in your stack. When your alias points to a specific branch, that branch acts as...
Read more >Aliases
Branch aliases are great for aliasing main development lines. But in order to use them you need to have control over the source...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All, thanks to @ilyahryapko you can now add an alias to a branch. This functionality has now been merged into main.
@idormenco That would be great! 👍