mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-05 14:27:51 +02:00
Merge pull request #985 from awalGarg/patch-1
[git/en] Added the handy -a switch
This commit is contained in:
@@ -217,6 +217,9 @@ the changes made and a message created by the user.
|
|||||||
```bash
|
```bash
|
||||||
# commit with a message
|
# commit with a message
|
||||||
$ git commit -m "Added multiplyNumbers() function to HelloWorld.c"
|
$ 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
|
### diff
|
||||||
|
Reference in New Issue
Block a user