# git gui - Linux

1 messages from 2014-06-20 to 2014-06-20. Participants: Ran Shalit.
Thread: https://gitlist.dev/t/36971

## Ran Shalit, 2014-06-20 09:30

Subject: git gui - Linux
Message-ID: <CAJ2oMh+3eOxrwg=L++H1FP94z=ypTWMUyCeJTQGqKL6cZYZ8gw@mail.gmail.com>
URL: https://gitlist.dev/e/CAJ2oMh%2B3eOxrwg%3DL%2B%2BH1FP94z%3DypTWMUyCeJTQGqKL6cZYZ8gw%40mail.gmail.com

```
Hello,

I am trying to initialize remote git and push complete folder files
using git-gui. I'm Doing exactly the same sequence in windows with Git
Gui works perfectly.
But when doing remote->add in ubuntu, name: test Location: /home/ubuntu/test.git

I get the following error: fatal: GIT_WORK_TREE (or --work-tree=) not
allowed without specifying GIT_DIR (or --git-dir=) Should I set only
GIT_DIR=/home/ubuntu/test.git? And after doing that, repeat the
remote->add step giving the name and the same folder
/home/ubuntu/test.git again ?

Thanks, Ran

```
