How to find the hidden files in the Git repository

0 votes

Hi Guys,

I have one Git repository in the Ubuntu system. I want to find the hidden files in the repository. How can I find that?

Nov 19, 2020 in Git & GitHub by akhtar
• 38,260 points
16,187 views

1 answer to this question.

0 votes

Hi@akhtar,

To find the hidden files in the Git repository, you need to run the ls command, as shown below.

$ ls -latr
total 12
drwx------ 5 root root 4096 Nov 19 10:05 ..
drwxr-xr-x 3 root root 4096 Nov 19 10:06 .
drwxr-xr-x 7 root root 4096 Nov 19 10:06 .git
answered Nov 19, 2020 by MD
• 95,460 points

Related Questions In Git & GitHub

0 votes
0 answers

How to find and restore a deleted file in a Git repository?

Hi Team, I have one Git repository. I ...READ MORE

Dec 22, 2020 in Git & GitHub by akhtar
• 38,260 points
807 views
0 votes
1 answer

How do I go to a particular version of a file in the Git repository?

Hi@akhtar, You can use git checkout <sha1> to check ...READ MORE

answered Jan 5, 2021 in Git & GitHub by MD
• 95,460 points
2,787 views
0 votes
2 answers

How to view the nested workflow of a local git repository?

The closest way to view branches in ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 59,230 points
1,551 views
0 votes
1 answer
+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
3,942 views
+2 votes
1 answer
0 votes
1 answer

How to stash untracked files of the current working directory in Git?

Hi@akhtar, In order to stash untracked files, add ...READ MORE

answered Nov 20, 2020 in Git & GitHub by MD
• 95,460 points
15,939 views
0 votes
1 answer

How to list all the files in a commit in Git?

Hi@akhtar, Using git diff-tree is considered as a preferred way ...READ MORE

answered Dec 22, 2020 in Git & GitHub by MD
• 95,460 points
979 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