From d84cf15385a634258eb66bfcf1a66b86e18fd5d3 Mon Sep 17 00:00:00 2001 From: Seb <37946892+avenger11@users.noreply.github.com> Date: Tue, 19 Dec 2023 23:02:32 -0500 Subject: [PATCH] Update Troubleshooting and FAQ.md --- pages/Troubleshooting and FAQ.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/pages/Troubleshooting and FAQ.md b/pages/Troubleshooting and FAQ.md index 70f8f14..5123da1 100644 --- a/pages/Troubleshooting and FAQ.md +++ b/pages/Troubleshooting and FAQ.md @@ -2,4 +2,23 @@ title: Troubleshooting and FAQ layout: home nav_order: 5 ---- \ No newline at end of file +--- + + + +# Other + +### Removing file and folder from Github Repository only + +Remove file from Github repository only + + git rm --cached file1.txt file2.txt + +Remove folder from Github repository only + + git rm -r --cached folder_name + +Then + + git commit -m "Remove folder from Git repository" + git push origin