8 lines
242 B
TypeScript
8 lines
242 B
TypeScript
import "typings-global";
|
|
import * as plugins from "./smartgit.plugins";
|
|
|
|
export let pull = (optionsArg:{path:string,ref?:string}) => {
|
|
if(!optionsArg.ref) optionsArg.ref = "master";
|
|
plugins.nodegit.Repository.open(optionsArg.path);
|
|
}
|