@@ -25,7 +25,6 @@ const { checkIgnoreTask } = require('./lib/tasks/check-ignore');
25
25
const { checkIsRepoTask } = require ( './lib/tasks/check-is-repo' ) ;
26
26
const { cloneTask, cloneMirrorTask } = require ( './lib/tasks/clone' ) ;
27
27
const { cleanWithOptionsTask, isCleanOptionsArray } = require ( './lib/tasks/clean' ) ;
28
- const { commitTask } = require ( './lib/tasks/commit' ) ;
29
28
const { diffSummaryTask } = require ( './lib/tasks/diff' ) ;
30
29
const { fetchTask } = require ( './lib/tasks/fetch' ) ;
31
30
const { moveTask } = require ( './lib/tasks/move' ) ;
@@ -283,33 +282,6 @@ Git.prototype.addAnnotatedTag = function (tagName, tagMessage) {
283
282
) ;
284
283
} ;
285
284
286
- /**
287
- * Check out a tag or revision, any number of additional arguments can be passed to the `git checkout` command
288
- * by supplying either a string or array of strings as the first argument.
289
- */
290
- Git . prototype . checkout = function ( ) {
291
- const commands = [ 'checkout' , ...getTrailingOptions ( arguments , true ) ] ;
292
- return this . _runTask ( straightThroughStringTask ( commands ) , trailingFunctionArgument ( arguments ) ) ;
293
- } ;
294
-
295
- /**
296
- * Check out a remote branch
297
- *
298
- * @param {string } branchName name of branch
299
- * @param {string } startPoint (e.g origin/development)
300
- * @param {Function } [then]
301
- */
302
- Git . prototype . checkoutBranch = function ( branchName , startPoint , then ) {
303
- return this . checkout ( [ '-b' , branchName , startPoint ] , trailingFunctionArgument ( arguments ) ) ;
304
- } ;
305
-
306
- /**
307
- * Check out a local branch
308
- */
309
- Git . prototype . checkoutLocalBranch = function ( branchName , then ) {
310
- return this . checkout ( [ '-b' , branchName ] , trailingFunctionArgument ( arguments ) ) ;
311
- } ;
312
-
313
285
/**
314
286
* Delete a local branch
315
287
*/
0 commit comments