How to remove version tracking from a project cloned from git

0 votes

Hi Guys,

I want to remove all version tracking from a project's directory. What is the correct method to do this?

Jan 4, 2021 in Git & GitHub by akhtar
• 38,260 points
1,035 views

1 answer to this question.

0 votes

Hi@akhtar,

All the data Git uses for information is stored in .git/, so removing it should work just fine. Of course, make sure that your working copy is in the exact state that you want it because everything else will be lost. The .git folder is hidden so make sure you turn on the Show hidden files, folders, and disks option.

answered Jan 4, 2021 by MD
• 95,460 points

Related Questions In Git & GitHub

0 votes
1 answer
0 votes
1 answer

Is there a way to remove a directory from git repository?

This is simple, just follow the commands ...READ MORE

answered Jul 14, 2018 in Git & GitHub by Sophie may
• 10,620 points
1,234 views
0 votes
1 answer

How to untrack and remove a deleted file and log when we check git status ?

Hi@Shashi, You can use the git clean command. ...READ MORE

answered Oct 29, 2020 in Git & GitHub by MD
• 95,460 points
18,664 views
0 votes
1 answer

How to remove files from git repository as well as users system?

Hi@akhtar, The git rm command deletes the file ...READ MORE

answered Nov 19, 2020 in Git & GitHub by MD
• 95,460 points
784 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
+1 vote
1 answer

How to remove untracked files from the current Git working tree?

Hi@akhtar, If you have thousands of file then ...READ MORE

answered Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
1,237 views
0 votes
1 answer

How to remove remote origin from Git repo?

Hi@akhtar, You can remove or add a new ...READ MORE

answered Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
7,058 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP