vimagit icon indicating copy to clipboard operation
vimagit copied to clipboard

Implemented Branch Checkout (#141)

Open nikewall opened this issue 5 years ago • 3 comments

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.

nikewall avatar Jun 21 '20 07:06 nikewall

@nikewall perhaps assign to someone?

ThePrimeagen avatar Feb 11 '21 15:02 ThePrimeagen

@jreybert wdyt about this feature?

k0va1 avatar Aug 05 '22 10:08 k0va1

I will give a look next week.

jreybert avatar Aug 12 '22 10:08 jreybert