git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git config --global needs to be run in a git directory
@ 2024-01-07  5:56 Trix Knotts
  2024-01-07  7:14 ` Trix Knotts
  0 siblings, 1 reply; 2+ messages in thread
From: Trix Knotts @ 2024-01-07  5:56 UTC (permalink / raw)
  To: Git

Hi! This is a minor issue, but I noticed when I ran `git config --global` from my home directory it gave me this error: `fatal: not in a git directory`. I was able to resolve this simply by moving to a git directory on my machine and rerunning it, so it is not really a big issue. However, I think for convenience it would be nice to be able to run global things like this anywhere. What do y'all think? Would this be easy to change?

BTW this is my first time emailing the git mailing list, so sorry if I did something wrong. Please let me know if so!

--
Trix Knotts (she/they)

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

end of thread, other threads:[~2024-01-07  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-07  5:56 git config --global needs to be run in a git directory Trix Knotts
2024-01-07  7:14 ` Trix Knotts

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).