git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git gui - Linux

From
RSRan 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
Message 1 of 1 in “git gui - Linux”
  1. Ran ShalitJun 20, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.