ionic-team / ionic-team/ionic-cli

`ionic doctor check` attests non-existing "Git doesn't appear to be in use." problem (on Windows)

Đang mở
#2,935 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

`ionic doctor check` thinks there is no `git` on my system:

```
PS C:\Projects\Ionic Demo Projects\pwaTest> ionic doctor check
√ Detecting issues: 16 / 16 complete - done!
Detected 3 issues.
[WARN] Git doesn't appear to be in use.

We highly recommend using source control software such as git (https://git-scm.com) to track changes in your code
throughout time. To fix, take the following step(s):

1) Download git if you don't have it installed: https://git-scm.com/downloads
2) Learn the basics if you're unfamiliar with git: https://try.github.io
3) Make your first commit and start tracking code changes! 😍

Ignore this issue with: ionic doctor ignore git-not-used

[WARN] ...

? Fix automatically? No
[WARN] ...

2 issues need to be fixed manually.
```
My system disagrees:
```
PS C:\Projects\Ionic Demo Projects\pwaTest> git status
On branch master
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified: ionic.config.json

no changes added to commit (use "git add" and/or "git commit -a")
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.