Re: [git-users] Where does git on windows store the repositories?

2017-10-26 Thread Konstantin Khomoutov
On Thu, Oct 26, 2017 at 08:55:23PM +0100, Philip Oakley wrote:

> The ".git" sub-directory that stores the whole repository is normally
> a hidden directory (as are most directories with a name starting with
> a dot). You can make windows explorer show them by setting an option.

A nitpick: filesystem entities whose names start with a dot are
considered hidden — by policy — only on Unix-y systems (I beleive,
Mac OS X counts as one in this regard, too).

On Windows, the visibility is controlled by a special "attribute" which
was available since FAT-16 at least (if memory serves me right) and was
carried forward to FAT-32 and all versions of NTFS.

Git for Windows sets it on the ".git" subdirectory in the cloned it
creates.

I think this attribute can be safely unset (using any tool, including
Windows Explorer) — this won't affect how GfW operates on such a
"tweaked" repository ;-)

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Merge master branch into feature branch without checkout

2017-10-26 Thread Mitch Negus
When reading through this Atlassian tutorial on Git 
, it says that 
the set of commands
git checkout feature
git merge master
can be condensed into the one-liner
git merge master feature
presumably to avoid needing to checkout the feature branch. I have not 
found this command to work though. Instead, when I run the one-liner in the 
master branch of my repository, it merges the feature branch into the 
master branch, rather than the opposite. Is this a mistake in the Atlassian 
tutorial, am I missing a set of circumstances where this action applies, or 
am I maybe just misinterpreting this entirely?

Any help is appreciated, thanks!


-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Re: Where does git on windows store the repositories?

2017-10-26 Thread yuelinho777
One more thing: 

If you can't find *.git folder* but *.git file*. Look into the content of 
that .git file, it shows you where the .git folder is.

Yue Lin

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Where does git on windows store the repositories?

2017-10-26 Thread rhkramer
It may be helpful to add that the (hidden) .git directory is a subdirectory of 
the project directory.  (Which seems to be true in my experience--maybe that's 
not always the case?)

On Thursday, October 26, 2017 03:55:23 PM Philip Oakley wrote:
> The ".git" sub-directory that stores the whole repository is normally a
> hidden directory (as are most directories with a name starting with a
> dot). You can make windows explorer show them by setting an option. --
> Philip
> 
> 
>   If the repository is a working directory (not bare), then the repository
> is stored in the ".git" directory.
> 
> 
>   If the repository is bare, then it is stored in the directory itself. 
> Bare repositories typically are used on git servers, rather than on
> development desktops.
> 
>   Mark Waite
> 
> 
>   On Thu, Oct 26, 2017 at 11:50 AM Greg Quintana  wrote:
> 
> Where does git on windows store the repositories?
> 
> 
> 
> Thanks
> Greg Quintana


Re: [git-users] Where does git on windows store the repositories?

2017-10-26 Thread Philip Oakley
Greg,
The ".git" sub-directory that stores the whole repository is normally a hidden 
directory (as are most directories with a name starting with a dot). You can 
make windows explorer show them by setting an option.
--
Philip


  If the repository is a working directory (not bare), then the repository is 
stored in the ".git" directory.


  If the repository is bare, then it is stored in the directory itself.  Bare 
repositories typically are used on git servers, rather than on development 
desktops.

  Mark Waite


  On Thu, Oct 26, 2017 at 11:50 AM Greg Quintana  wrote:

Where does git on windows store the repositories?



Thanks
Greg Quintana

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Where does git on windows store the repositories?

2017-10-26 Thread Konstantin Khomoutov
On Thu, Oct 26, 2017 at 10:50:11AM -0700, Greg Quintana wrote:

> Where does git on windows store the repositories?

Git for Windows is no different from "normal" Git in this regard (and in
most others, too), so just grab any Git book / tutorial and get started.

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Where does git on windows store the repositories?

2017-10-26 Thread Mark Waite
If the repository is a working directory (not bare), then the repository is
stored in the ".git" directory.

If the repository is bare, then it is stored in the directory itself.  Bare
repositories typically are used on git servers, rather than on development
desktops.

Mark Waite

On Thu, Oct 26, 2017 at 11:50 AM Greg Quintana  wrote:

> Where does git on windows store the repositories?
>
> Thanks
> Greg Quintana
>
> --
> 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 to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Where does git on windows store the repositories?

2017-10-26 Thread Greg Quintana
Where does git on windows store the repositories?

Thanks
Greg Quintana

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.