This repository was archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 534
Git status silently fails in a repository with no commits. #459
Labels
Comments
@JarrahGos Thank you for reporting this. We will look into the issue. |
I am facing the same issue with Git Bash Today i have initialized git using It is showing No commits yet instead of Initial commit |
@ganesh-sadanala That's git expected behavior. |
I am facing this issue too. |
after add comment I face some issue just now
|
even i am facing this issue what is to be done? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
When running the following code on a repository with no commits but staged or untracked content status.IsClean() return true and status.String() returns an empty string. (error checking done, but excluded from example)
Normal git functionality is to return the following:
The text was updated successfully, but these errors were encountered: