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

Implemented Branch Checkout (#141) #189

Open
wants to merge 3 commits into
base: next
Choose a base branch
from
Open

Conversation

nikewall
Copy link

@nikewall nikewall commented Jun 21, 2020

There are three bindings: CBB, CBF, and CB-. CBB is the
equivalent of 'git checkout -b'; CBF is the equivalent of 'git
checkout -B', and CB- is the equivalent of 'git checkout -'.

I adapted the UI based off of the proposed UI in the issue by changing
from autocompletion(?) of typed branch names to listed branches (remote
and local alike) which can be selected with CBB/CBF, along with the
option to Close the section as well as create a new local branch.

Inline help and vimagit.txt are updated with details.

Airline 'modes' should work, based on what I can tell, but I cannot confirm it since I do not have airline installed in my config.

EDIT: Sorry for the weird extra commits. Needed to amend a comment-change and the remote did NOT like it.

There are three bindings: <CBB>, <CBF>, and <CB->. <CBB> is the
equivalent of 'git checkout -b'; <CBF> is the equivalent of 'git
checkout -B', and <CB-> is the equivalent of 'git checkout -'.

I adapted the UI based off of the proposed UI in the issue by changing
from autocompletion(?) of typed branch names to listed branches (remote
and local alike) which can be selected with <CBB>/<CBF>, along with the
option to Close the section as well as create a new local branch.

Inline help and vimagit.txt are updated with details.
There are three bindings: <CBB>, <CBF>, and <CB->. <CBB> is the
equivalent of 'git checkout -b'; <CBF> is the equivalent of 'git
checkout -B', and <CB-> is the equivalent of 'git checkout -'.

I adapted the UI based off of the proposed UI in the issue by changing
from autocompletion(?) of typed branch names to listed branches (remote
and local alike) which can be selected with <CBB>/<CBF>, along with the
option to Close the section as well as create a new local branch.

Inline help and vimagit.txt are updated with details.
@ThePrimeagen
Copy link

@nikewall perhaps assign to someone?

@k0va1
Copy link

k0va1 commented Aug 5, 2022

@jreybert wdyt about this feature?

@jreybert
Copy link
Owner

I will give a look next week.

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.

4 participants