@@ -25,17 +25,24 @@ Its primary purpose is to simplify the process of switching between branches whi
25
25
26
26
### Changes
27
27
28
- | Command | Description |
29
- | :----------------------------| :-------------------------------------------------------------------------------------------|
30
- | ` git add . ` | Add all changes to stage area |
31
- | ` git add [file] ` | Add specified file to stage area |
32
- | ` git commit -m "[message]" ` | Commit staged file in version history |
33
- | ` git commit -a ` | Commit staged file in version history |
34
- | ` git status ` | Show all file which are modified, created, deleted, un-staged file |
35
- | ` git diff ` | Show all changes which are not staged |
36
- | ` git diff -staged ` | Shows the differences between the files in the staging area and the latest version present |
37
- | ` git rm [file] ` | Delete un-staged file |
38
- | ` git rm -f [file] ` | Delete file |
39
-
28
+ | Command | Description |
29
+ | :--------------------------------------------| :-------------------------------------------------------------------------------------------|
30
+ | ` git add . ` | Add all changes to stage area |
31
+ | ` git add [file] ` | Add specified file to stage area |
32
+ | ` git commit -m "[message]" ` | Commit staged file in version history |
33
+ | ` git commit -a ` | Commit staged file in version history |
34
+ | ` git status ` | Show all file which are modified, created, deleted, un-staged file |
35
+ | ` git diff ` | Show all changes which are not staged |
36
+ | ` git diff -staged ` | Shows the differences between the files in the staging area and the latest version present |
37
+ | ` git rm [file] ` | Delete un-staged file |
38
+ | ` git rm -f [file] ` | Delete file |
39
+ | ` git merge [branch name] ` | Merge a branch into the active branch |
40
+ | ` git merge [source branch] [target branch] ` | Merge a branch into a target branch |
41
+ | ` git stash ` | Stash changes in a dirty working directory |
42
+ | ` git stash clear ` | Remove all stashed entries |
43
+ | ` git stash save "message" ` | Save changes in a dirty working directory with message |
44
+ | ` git stash list ` | Show all saved change list |
45
+ | ` git stash apply [index] ` | Copy save change to directory |
46
+ | ` git stash drop [index] ` | Copy save the change to the directory and clear changes from stash |
40
47
41
48
0 commit comments