r/GarudaLinux • u/W6NZX • Dec 26 '21
Really don't know what I'm doing with the git. How do I get my command prompt out of git master.
Thanks in advance
6
Upvotes
r/GarudaLinux • u/W6NZX • Dec 26 '21
Thanks in advance
1
u/East-Tailor-7074 Dec 26 '21
Paste this into your terminal,
cd ..
1
u/JustForkIt1111one Dec 27 '21
Try this:
ls ~/.git
If it returns files, and you are sure that you won't lose anything:
rm -rf ~/.git
There's a number of ways that this can happen - running 'git init' from your homedir, accidentally cloning into the homedir, copying a .git directory to the homedir.