On Fri, 5 Dec 2014 08:18:20 -0000
"Philip Oakley" <philipoak...@iee.org> wrote:
> ----- Original Message -----
> From: Aafaq Mateen
> To: email@example.com
> Sent: Thursday, December 04, 2014 3:22 PM
> Subject: [git-users] no .git folder when creating new repository
> I down loaded the Git Windows version 1.9.4 and gave my name and
> email at bash and come back to Git GUI to create new repository.I
> cant see any .git folder in the newly created folder on my desktop.
> just wondering why its happening ..I tried couple of time
> uninstalling and stalling git back but its the same .
> please help in this regard.
> Have you set your system to show 'hidden files and folders'?
> Any file or folder (in windows) that begins with a dot is by default
> a hidden file/folder.
This is not correct: Windows does not have a convention of hiding
anything based on the names -- what it has, but only in one particular
piece of software -- Windows Explorer -- which is "the shell"
responsible, among other things, for browsing files, is hiding by
default the predefined set of "system" paths as well as hiding
extensions of files of "registered types" (my pet target for bashing
default settings on this class of OSes). The reason the OP can't see
the ".git" subdirectory is Git explicitly setting the attribute "hidden"
on that directory after creating it; to demonstrate:
C:\tmp>git init foo
Initialized empty Git repository in C:/tmp/foo/.git/
"H" here stands for "hidden". Run attr /? in the command prompt to see
what other attributes are supported on Windows filesystems (FATs, NTFS).
> *nix has a similar protocol.
Only in a sense: interactive command-line shells (like bash) and dumbed
down graphical shells like Nautilus indeed do not show "dotfiles" by
default, and command-line shells also by default exclude such files
from globbing operations, IIRC. These files are not really hidden as
POSIX does not mandate implementing such a file attribute on
filesystems. So yes, they are hidden by policy only.
> In Windows Explorer you can set a preference to show them by default
> (see Google;-)
That is correct, yes.
My personal approach instead is to use a sensible file-browsing tool
for heavy-lifting operations leaving Windows Explorer for quick ad-hoc
tasks, and then it can be left mostly with default settings.
To name a few such tools, there are: FAR manager  (I admit it's
hardly popular anywhere except in the ex-USSR lands), Total Commander
 (proprietary), Free Commander  (Total Commander clone,
freeware), μCommander  (Java, for those with lots of free RAM, so
they've picked a classy name) etc.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.