{"thread":{"id":"36971","subject":"git gui - Linux","startedAt":"2014-06-20T09:30:44Z","lastAt":"2014-06-20T09:30:44Z","messageCount":1,"participants":["Ran Shalit"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"244751","messageId":"CAJ2oMh+3eOxrwg=L++H1FP94z=ypTWMUyCeJTQGqKL6cZYZ8gw@mail.gmail.com","threadId":"36971","inReplyTo":null,"subject":"git gui - Linux","fromName":"Ran Shalit","fromEmail":"ranshalit@gmail.com","sentAt":"2014-06-20T09:30:44Z","receivedAt":"2014-06-20T09:30:44Z","isPatch":false,"sender":{"key":"ranshalit@gmail.com","avatar":null},"body":"Hello,\n\nI am trying to initialize remote git and push complete folder files\nusing git-gui. I'm Doing exactly the same sequence in windows with Git\nGui works perfectly.\nBut when doing remote->add in ubuntu, name: test Location: /home/ubuntu/test.git\n\nI get the following error: fatal: GIT_WORK_TREE (or --work-tree=) not\nallowed without specifying GIT_DIR (or --git-dir=) Should I set only\nGIT_DIR=/home/ubuntu/test.git? And after doing that, repeat the\nremote->add step giving the name and the same folder\n/home/ubuntu/test.git again ?\n\nThanks, Ran\n"}]}