repo creation ux #154

Open
opened 2025-01-02 00:47:39 +01:00 by gekkowrld · 2 comments
Contributor

when creating a repo through berg repo create, there should be an optional prompt to ask the user if they would like to push any local changes. and it should set the remote (by default origin) and the upstream instead of manual intervention from user.

also i can't figure out how to change the default text editor from nano.

when creating a repo through `berg repo create`, there should be an optional prompt to ask the user if they would like to push any local changes. and it should set the remote (by default origin) and the upstream instead of manual intervention from user. also i can't figure out how to change the default text editor from nano.

Same issues here. How can I use this to upload an existing repo from my local machine?

And I also do not understand how to change the text editor setting listed via berg config list

Same issues here. How can I use this to upload an existing repo from my local machine? And I also do not understand how to change the text editor setting listed via `berg config list`
Author
Contributor

@andypiper wrote in #154 (comment):

And I also do not understand how to change the text editor setting listed via berg config list

The issue was fixed in this commit. You have to add editor = YOUR_EDITOR if in $PATH or full exec path e.g '~/bin/editor' in the config file (can be found in ~/.config/berg-cli/berg.toml by default in *nix like oses, if not create a new one)

@andypiper wrote in https://codeberg.org/Aviac/codeberg-cli/issues/154#issuecomment-8050979: > And I also do not understand how to change the text editor setting listed via `berg config list` The issue was fixed in [this commit](https://codeberg.org/Aviac/codeberg-cli/commit/2e4328a76e12982bc1631ef02f77ac93b88868cb). You have to add `editor = YOUR_EDITOR` if in `$PATH` or full exec path e.g '~/bin/editor' in the config file (can be found in `~/.config/berg-cli/berg.toml` by default in *nix like oses, if not create a new one)
Sign in to join this conversation.
No description provided.