Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config feature 'initial_branch_name' #1379

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

fnune
Copy link
Contributor

@fnune fnune commented Jun 15, 2024

This config feature allows users to specify an initial branch name that will be used as a get_user_input default when Neogit asks for a name for a new branch.

This is useful when working in teams with a branch naming convention. For example, teams may choose to prefix branches with a GitHub username. In that case, configuring Neogit with:

initial_branch_name = "myname/"

...will result in the popup being prepopulated with myname/, after which I can specify the branch name.

@fnune fnune force-pushed the fnune/add-initial-branch-name-feature branch from 5e87225 to b887fb4 Compare June 17, 2024 12:16
@CKolkey CKolkey force-pushed the fnune/add-initial-branch-name-feature branch from b887fb4 to 1b7a228 Compare July 21, 2024 21:34
@CKolkey CKolkey force-pushed the fnune/add-initial-branch-name-feature branch from 1b7a228 to e7ec7d4 Compare September 2, 2024 21:16
@fnune fnune force-pushed the fnune/add-initial-branch-name-feature branch from e7ec7d4 to 4e96969 Compare October 18, 2024 19:40
@fnune
Copy link
Contributor Author

fnune commented Oct 18, 2024

Hi! @CKolkey do you think this can get reviewed/merged?

@CKolkey
Copy link
Member

CKolkey commented Oct 18, 2024

yea 😅 I'll try to take a look tomorrow. Sorry for the delay

This config feature allows users to specify an initial branch name that
will be used as a `get_user_input` default when Neogit asks for a name
for a new branch.

This is useful when working in teams with a branch naming convention.
For example, teams may choose to prefix branches with a GitHub
username. In that case, configuring Neogit with:

```
initial_branch_name = "myname/"
```

...will result in the popup being prepopulated with `myname/`, after
which I can specify the branch name.
@CKolkey CKolkey force-pushed the fnune/add-initial-branch-name-feature branch from 4e96969 to 6171dfa Compare October 18, 2024 21:30
@fnune
Copy link
Contributor Author

fnune commented Oct 19, 2024

Nothing to be sorry about 😄

@fnune
Copy link
Contributor Author

fnune commented Oct 19, 2024

Btw @CKolkey have you considered adding the hacktoberfest label to the repo? :) https://hacktoberfest.com/

@CKolkey
Copy link
Member

CKolkey commented Oct 20, 2024

Btw @CKolkey have you considered adding the hacktoberfest label to the repo? :) hacktoberfest.com

Sure, why not :)

@CKolkey CKolkey merged commit 24726da into NeogitOrg:master Oct 21, 2024
3 of 5 checks passed
@fnune fnune deleted the fnune/add-initial-branch-name-feature branch October 21, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants