mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Added the handy -a switch
This commit is contained in:
parent
d2d3efead4
commit
84ac5877f3
@ -217,6 +217,9 @@ the changes made and a message created by the user.
|
||||
```bash
|
||||
# commit with a message
|
||||
$ git commit -m "Added multiplyNumbers() function to HelloWorld.c"
|
||||
|
||||
# automatically stage modified or deleted files, except new files, and then commit
|
||||
$ git commit -a -m "Modified foo.php and removed bar.php"
|
||||
```
|
||||
|
||||
### diff
|
||||
|
Loading…
Reference in New Issue
Block a user