File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,12 +168,8 @@ export class ApiRepository implements Repository {
168168 return this . _repository . pull ( ) ;
169169 }
170170
171- push ( head : Branch ) : Promise < void > {
172- return this . _repository . push ( head ) ;
173- }
174-
175- pushTo ( remote ?: string , name ?: string , setUpstream : boolean = false ) : Promise < void > {
176- return this . _repository . pushTo ( remote , name , setUpstream ) ;
171+ push ( remoteName ?: string , branchName ?: string , setUpstream : boolean = false ) : Promise < void > {
172+ return this . _repository . pushTo ( remoteName , branchName , setUpstream ) ;
177173 }
178174}
179175
Original file line number Diff line number Diff line change @@ -152,8 +152,7 @@ export interface Repository {
152152
153153 fetch ( remote ?: string , ref ?: string ) : Promise < void > ;
154154 pull ( ) : Promise < void > ;
155- push ( head : Branch ) : Promise < void > ;
156- pushTo ( remote ?: string , name ?: string , setUpstream ?: boolean ) : Promise < void > ;
155+ push ( remoteName ?: string , branchName ?: string , setUpstream ?: boolean ) : Promise < void > ;
157156}
158157
159158export interface API {
You can’t perform that action at this time.
0 commit comments