Thanks to Dale, Charles, Joe, & John, for the replies.
From: "Dale R. Worley"
Sent: Friday, May 17, 2013 5:19 PM
From: "Philip Oakley"
Recently there have been a couple of example commands that have a
single
dot '.' in the command line.
In this case what is its proper meaning, that is, is
> From: "Philip Oakley"
>
> Recently there have been a couple of example commands that have a single
> dot '.' in the command line.
>
> In this case what is its proper meaning, that is, is it expanded by the
> bash shell, or by git it self, and what would its typical expanded
> version look l
'.' is useful with things like git diff.
git diff
will show you all the diffs for the whole repo
git diff .
will show you just the diffs from the current directory and
sub-directories.
On Fri, May 17, 2013 at 11:44 AM, Joe Cabezas wrote:
> as said earlier '.' means the directory itsel
as said earlier '.' means the directory itself
many git commands are recursive when you use a path as argument so
git add path/to/file.dat
adds the 'file.dat' file, but
git add path/to/dir/
add recursively all files in 'dir' directory
SO
git add .
add all files in current directory,
In UNIX commands, the period by itself means "the current directory"
On May 16, 2013 5:41 PM, "Philip Oakley" wrote:
> Recently there have been a couple of example commands that have a single
> dot '.' in the command line.
>
> In this case what is its proper meaning, that is, is it expanded by th
Recently there have been a couple of example commands that have a single
dot '.' in the command line.
In this case what is its proper meaning, that is, is it expanded by the
bash shell, or by git it self, and what would its typical expanded
version look like if it is the current dicetory e.g.