git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GIT_WORK_TREE environment variable not working
@ 2010-02-01  1:33 Ron Garret
  2010-02-01  5:19 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Ron Garret @ 2010-02-01  1:33 UTC (permalink / raw)
  To: git

What am I doing wrong here?

[ron@mickey:~/devel/gittest]$ pwd
/Users/ron/devel/gittest
[ron@mickey:~/devel/gittest]$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#  git/
nothing added to commit but untracked files present (use "git add" to 
track)
[ron@mickey:~/devel/gittest]$ cd
[ron@mickey:~]$ export GIT_WORK_TREE=/Users/ron/devel/gittest
[ron@mickey:~]$ git status
fatal: Not a git repository (or any of the parent directories): .git
[ron@mickey:~]$ git status --work-tree=/Users/ron/devel/gittest
fatal: Not a git repository (or any of the parent directories): .git
[ron@mickey:~]$

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-01  7:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01  1:33 GIT_WORK_TREE environment variable not working Ron Garret
2010-02-01  5:19 ` Jeff King
2010-02-01  7:09   ` Ron Garret

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).