Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2f8ae90

Browse files
author
Saiful
committed
Removing files
1 parent c060542 commit 2f8ae90

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

‎README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -213,20 +213,10 @@ Though there are 1000’s of articles about git, I have written this article is
213213
# Create a new commit to undo the specified commit.
214214
# All changes of the latter will be offset by the former and applied to the current branch.
215215
$ 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]
226216

227-
### Removing files manual process (Workspace --> Staging --> Repository --> Remote)
217+
### Removing files or folders (Workspace --> Staging --> Repository --> Remote)
228218

229-
# Manually delete the file from Workspace
219+
# Manually delete the files or folders from Workspace
230220
# The following command will permanently remove the file
231221
$ git add .
232222
$ git commit -m "message"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /