admin管理员组文章数量:1415119
I am just trying to run the git init command, with a fresh copy of git installed; as of writing this version git version 2.47.1.windows.2, and their is not .git directory in the main directory. I run the command again and get this A screen snippet of my command line showing the git repo is being "Reinitialize", but actual is never.
Is any else experiencing this problem, what am I doing wrong as it has been about 9 months since I lasted used git, and git init is usually the very first command to be ran. What am I doing wrong.
I am just trying to run the git init command, with a fresh copy of git installed; as of writing this version git version 2.47.1.windows.2, and their is not .git directory in the main directory. I run the command again and get this A screen snippet of my command line showing the git repo is being "Reinitialize", but actual is never.
Is any else experiencing this problem, what am I doing wrong as it has been about 9 months since I lasted used git, and git init is usually the very first command to be ran. What am I doing wrong.
Share Improve this question edited Feb 11 at 13:28 Guildenstern 3,9602 gold badges28 silver badges54 bronze badges asked Feb 11 at 12:58 GodofNooksGodofNooks 31 bronze badge 3 |1 Answer
Reset to default 0Files and folders starting with a dot are hidden. This might explain you don't see the .git folder.
- Display hidden files and folders using command prompt:
dir /a
- Display hidden files and folders using bash:
ls -a
Using the git status
command also reveals the git repository is actually present.
本文标签: git for windowsgit init not initializing git repo in directoryStack Overflow
版权声明:本文标题:git for windows - git init not initializing git repo in directory - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745210099a2647831.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
git status
in theTest folder
directory? – axiac Commented Feb 11 at 13:02