2016-06-12 14:46:59 +00:00
|
|
|
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);
|
|
|
|
}
|