jesseduffield / jesseduffield/lazygit

Does not return to standard view after "git worktree add" command

Open
#3,978 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
I use the shell command to add a gti worktree, it worked opening a shell and creating it, but when the job was done, i see the this 'ress enter to return to lazygit[2] + 91645 suspended (tty input) lazygit'

**To Reproduce**
1. press ":" to open shell command
2. use "git worktree add ../dir-name branch-name"
3. press enter

**Expected behavior**
I expect to coninue using lazygit after job is done

**Screenshots**
[screenshot](https://ibb.co/pnrm7df)

**Version info:**
_Run `lazygit --version`
commit=, build date=, build source=homebrew, version=0.44.1, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)
_Run `git --version`
git version 2.39.5 (Apple Git-154)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.