Thanks to visit codestin.com
Credit goes to gitlab.com

Commit b15654d9 authored by Adrian DC's avatar Adrian DC
Browse files

docs(commands): improve and simplify commands descriptions



Signed-off-by: default avatarAdrian DC <[email protected]>
parent be42840c
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ Commit the contents of the staging area:
git commit
```

Commit the contents of the staging area with a sign-off (signature):
Commit the contents of the staging area with a sign-off signature:

```bash
git commit -s
@@ -109,13 +109,13 @@ Add all changes to tracked files and commit immediately:
git commit -A
```

Amend the previous commit with the current staging area content and modify the message:
Amend current commit with staged changes and modify the message:

```bash
git commit --amend
```

Amend the previous commit with the current staging area content and without modifying the message:
Amend current commit with staged changes without message edition:

```bash
git commit --amend --no-edit
@@ -127,13 +127,13 @@ git commit --amend --no-edit
  <h2>Stash</h2>
</center>

Stash the changes made in the working directory and reset to HEAD:
Stash the changes made to sources and reset to HEAD:

```bash
git stash
```

Manually stash changes chunks made in the working directory:
Manually stash changes chunks made to sources:

```bash
git stash -p
@@ -149,7 +149,7 @@ git stash -p
</ul>
<br />

Restore the last stashed set of changes to the working directory:
Restore the last stash of changes to the working directory:

```bash
git stash pop