@@ -213,20 +213,10 @@ Though there are 1000’s of articles about git, I have written this article is
213
213
# Create a new commit to undo the specified commit.
214
214
# All changes of the latter will be offset by the former and applied to the current branch.
215
215
$ git revert [commit]
216
-
217
- ### Removing files (Workspace --> Staging)
218
-
219
- # Removes files from Stagging and your working directory
220
- # Start untracking a previously tracked file
221
- $ git rm [file1] [file2] [fileN]
222
-
223
- # Removes files from Stagging but the file will be remained in the Workspace.
224
- # Start untracking a previously tracked file
225
- $ git rm --cached [file]
226
216
227
- ### Removing files manual process (Workspace --> Staging --> Repository --> Remote)
217
+ ### Removing files or folders (Workspace --> Staging --> Repository --> Remote)
228
218
229
- # Manually delete the file from Workspace
219
+ # Manually delete the files or folders from Workspace
230
220
# The following command will permanently remove the file
231
221
$ git add .
232
222
$ git commit -m "message"
0 commit comments