We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc83722 commit 121866cCopy full SHA for 121866c
lib/git/lib.rb
@@ -365,13 +365,15 @@ def global_config_set(name, value)
365
#
366
# options:
367
# :all => true
368
+ # :force => true
369
370
# @param [String,Array] paths files paths to be added to the repository
371
# @param [Hash] options
372
def add(paths='.',options={})
373
arr_opts = []
374
375
arr_opts << '--all' if options[:all]
376
+ arr_opts << '--force' if options[:force]
377
378
arr_opts << '--'
379
0 commit comments