git gui - Linux
- From
- Ran Shalit <ranshalit@gmail.com>
- Date
- Jun 20, 2014, 09:30 UTC
- Message-ID
- <CAJ2oMh+3eOxrwg=L++H1FP94z=ypTWMUyCeJTQGqKL6cZYZ8gw@mail.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