How to show hidden files (dotfiles) with windows powershell [duplicate]

In order to show such hidden files, use the -Force parameter for the Get-Childitem command.

Get-ChildItem . -Force

You also can use its aliases, with -Force

dir -Force
ls -Force
gci -Force

Also: if you want to delete fully delete e.g. the .git Directory, you may use Delete-Item .\.git -Force

EDIT

According to Get-Help Get-ChildItem -Examples “Example 3” this also works:
dir -att h, !h

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)