Commit b068be7
committed
setup: suggest 'git init' when no repository is found
When Git cannot find a .git directory, the error message now includes
a helpful hint suggesting to run 'git init' to initialize a new
repository. This helps new developers understand what to do when
they encounter this common error.
This follows the pattern established by the 'detected dubious ownership'
error message which provides actionable guidance to users.1 parent 7f19e4e commit b068be7
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1881 | 1881 | | |
1882 | 1882 | | |
1883 | 1883 | | |
1884 | | - | |
| 1884 | + | |
| 1885 | + | |
1885 | 1886 | | |
1886 | 1887 | | |
1887 | 1888 | | |
1888 | 1889 | | |
1889 | 1890 | | |
1890 | 1891 | | |
1891 | | - | |
| 1892 | + | |
| 1893 | + | |
1892 | 1894 | | |
1893 | 1895 | | |
1894 | 1896 | | |
| |||
0 commit comments