@@ -509,16 +509,16 @@ export default class GitShellOutStrategy {
509
509
return this . exec ( args , { writeOperation : true } ) ;
510
510
}
511
511
512
- fetch ( remote , branchName ) {
513
- return this . exec ( [ 'fetch' , remote , branchName ] , { useGitPromptServer : true , writeOperation : true } ) ;
512
+ fetch ( remoteName , branchName ) {
513
+ return this . exec ( [ 'fetch' , remoteName , branchName ] , { useGitPromptServer : true , writeOperation : true } ) ;
514
514
}
515
515
516
- pull ( remote , branchName ) {
517
- return this . gpgExec ( [ 'pull' , remote , branchName ] , { useGitPromptServer : true , writeOperation : true } ) ;
516
+ pull ( remoteName , branchName ) {
517
+ return this . gpgExec ( [ 'pull' , remoteName , branchName ] , { useGitPromptServer : true , writeOperation : true } ) ;
518
518
}
519
519
520
- push ( remote , branchName , options = { } ) {
521
- const args = [ 'push' , remote || 'origin' , branchName ] ;
520
+ push ( remoteName , branchName , options = { } ) {
521
+ const args = [ 'push' , remoteName || 'origin' , branchName ] ;
522
522
if ( options . setUpstream ) { args . push ( '--set-upstream' ) ; }
523
523
if ( options . force ) { args . push ( '--force' ) ; }
524
524
return this . exec ( args , { useGitPromptServer : true , writeOperation : true } ) ;
0 commit comments