Skip to content

git branch checks out commit, not branch #913

Description

@fdw

Description
When using the git branch channel and the checkout action, I end up headless on a certain commit, not the expected branch

Example

  1. Call tv git-branch
  2. Choose some other branch.
  3. Hit enter
  4. See that you're now headless

Expected behavior
I expected to be on that branch, not headless on the last commit.

Environment

  • OS: Linux
  • TV version: 0.15.
  • shell: zsh
  • terminal: Kitty
  • Your configuration file (~/.config/television/config.toml): Default, no customization (yet)
  • The channel you are using (if applicable and different from the default): git-branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions