prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
160 stars 87 forks source link

Initialize remote doesn't work for local paths #52

Closed irvnriir closed 3 years ago

irvnriir commented 3 years ago

Remote \ Add \

Results into :

fatal: GIT_WORK_TREE (or --work-tree=) not allowed without specifying GIT_DIR (or --git-dir=)

https://github.com/git-for-windows/git/issues/3149

prati0100 commented 3 years ago

Works for me.

Remote -> Add
Name: test
Location: /home/pratyush/src/git-gui/

Succeeds. I can fetch from the remote as well. This is either a windows specific issue or you have specified the path incorrectly.

Try using a relative directory. For example, try ../repo/ for path.

irvnriir commented 3 years ago

It works now . (idk what changed)