Re: What does this output of git supposed to mean ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 05, 2017 at 07:34:12PM +0530, Kaartic Sivaraam wrote:
> Hello all,
> 
> I noticed a weird output by git when trying to run 'git status' on a
> newly initialized git repository. It prints the following,
> 
> > On branch master
> > 
> > Initial commit
> > 
> > nothing to commit (create/copy files and use "git add" to track)
> 
> 
> What's that "Initial commit" supposed to mean?

It just means that it will be the first commit in the repository.  It's
a helpful reminder that some operations (such as git log) won't work as
expected.  In addition, many people want to commit certain files (such
as .gitignore) in their initial commit, and this may jog their memory.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]