UNPKG
ggit
Version:
latest (2.4.12)
2.4.12
2.4.11
2.4.10
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
1.23.1
1.23.0
1.22.1
1.22.0
1.21.0
1.20.1
1.20.0
1.19.0
1.18.0
1.17.2
1.17.1
1.17.0
1.16.0
1.15.1
1.15.0
1.14.0
1.13.7
1.13.6
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.1
1.11.0
1.10.0
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
0.14.0
0.13.0
0.12.2
0.12.1
0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
0.9.0
0.8.1
0.8.0
0.7.0
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.11
0.0.5
0.0.4
0.0.3
0.0.1
Local promise-returning git command wrappers
github.com/bahmutov/ggit
bahmutov/ggit
ggit
/
docs
/
has-changes.md
11 lines
(8 loc)
•
199 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
## hasChanges Returns `
true
`
if
there are
local
uncommitted stages ```javascript var changed =
require
(
'ggit'
).hasChanges; changed().
then
(
function
(result)
{ // result is
true
or
false
}); ```