FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/example/readme-example.js at v0.0.73 · nodegit/nodegit · GitHub
nodegit
nodegit
Repository navigation
Code
Issues
344
(344)
Pull requests
21
(21)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit
/
example
/
readme-example.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (10 loc) · 300 Bytes
Breadcrumbs
nodegit
/
example
/
readme-example.js
Copy path
File metadata and controls
14 lines (10 loc) · 300 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
git
=
require
(
'nodegit'
)
;
git
.
repo
(
'jquery/.git'
,
function
(
)
{
console
.
log
(
'Repo opened'
)
;
this
.
branch
(
'master'
,
function
(
)
{
console
.
log
(
'Branch opened'
)
;
this
.
history
(
)
.
on
(
'commit'
,
function
(
i
,
commit
)
{
console
.
log
(
commit
.
id
.
toString
(
40
)
)
;
}
)
;
}
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL