# gitk "reset branch to here" bug in Cygwin

1 messages from 2008-12-29 to 2008-12-29. Participants: Hannu Koivisto.
Thread: https://gitlist.dev/t/16908

## Hannu Koivisto, 2008-12-29 13:41

Subject: gitk "reset branch to here" bug in Cygwin
Message-ID: <83abafcd42.fsf@kalahari.s2.org>
URL: https://gitlist.dev/e/83abafcd42.fsf%40kalahari.s2.org

```
Greetings,

First create a test repository with two commits:

mkdir gittest3
cd gittest3
git init
echo foo > foo
git add foo
git commit -m "Foo"
echo foo >> foo
git add foo
git commit -m "2nd. foo"

Now start gitk, point at the first commit and from the context menu
select "Reset master branch to here" and then "Hard:...".

The result is 'can not find channel named "1"'.

git reset --hard HEAD\^1 in the same repository works fine.

Tested with 159c88e5ae95c5b02298193c1658fac5919c8012 (1.6.1 plus a
few commits) on Windows XP.

-- 
Hannu

```
