@@ -214,7 +214,7 @@ Though there are 1000’s of articles about git, I have written this article is
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
216
217
- ### Removing files
217
+ ### Removing files from remote (Workspace --> Staging --> Repository --> Remote)
218
218
219
219
# Removes files from Stagging and your working directory
220
220
# Start untracking a previously tracked file
@@ -223,6 +223,14 @@ Though there are 1000’s of articles about git, I have written this article is
223
223
# Removes files from Stagging but the file will be remained in the Workspace.
224
224
# Start untracking a previously tracked file
225
225
$ git rm --cached [file]
226
+
227
+ ### Removing files manual process (Workspace --> Staging --> Repository --> Remote)
228
+
229
+ # Manually delete the file from Workspace
230
+ # The following command will permanently remove the file
231
+ $ git add .
232
+ $ git commit -m "message"
233
+ $ git pull origin [branch]
226
234
227
235
### Stash
228
236
0 commit comments