Feature request for automatic worktree checkout
- From
- Ehsan Azarnasab <azarnasab@gmail.com>
- Date
- Jul 18, 2016, 17:42 UTC
- Message-ID
- <CADWjqk40KK=AuKqqdpKjkBuUvhQb4k4fMR4bPfdo8JkGRs-Y9w@mail.gmail.com>
Currently if I have a branch checked out in a work-tree, git-checkout will show this error message when checking out that branch:
$ git checkout master fatal: 'master' is already checked out at '/home/dashesy/development/feature'
It would be very useful to instead of this error just change the current working directory, so git checkout would become a `cd` command
Ehsan