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 7905a84 commit fbbfe07Copy full SHA for fbbfe07
README.md
@@ -140,8 +140,11 @@ And here are the operations that will need to write to your git repository.
140
g.config('user.name', 'Scott Chacon')
141
g.config('user.email', 'email@email.com')
142
143
- g.add('.')
144
- g.add([file1, file2])
+ g.add # git add -- "."
+ g.add(:all=>true) # git add --all -- "."
145
+ g.add('file_path') # git add -- "file_path"
146
+ g.add(['file_path_1', 'file_path_2']) # git add -- "file_path_1" "file_path_2"
147
+
148
149
g.remove('file.txt')
150
g.remove(['file.txt', 'file2.txt'])
0 commit comments