mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Rename files and folders to match their module definitions
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
///<reference path='./node-git.d.ts'/>
|
||||
|
||||
import base = require("git");
|
||||
|
||||
var git = new base.Git("../.git");
|
||||
git.call_git("", "clone", "", {}, ["https://github.com/DefinitelyTyped/DefinitelyTyped.git", "d.ts"], function (err, data) {
|
||||
console.log(arguments);
|
||||
});
|
||||
|
||||
new base.Repo("../.git", (err, repo)=> {
|
||||
repo.log(null, null, null, (err, commits)=> {
|
||||
commits.forEach(commit=> {
|
||||
console.log(commit.message);
|
||||
})
|
||||
});
|
||||
|
||||
repo.diff("aaa", "bbb", (err, data)=> {
|
||||
console.log(data);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user