git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git add "This file is for the blah class"
@ 2012-08-19 18:45 theProphet
       [not found] ` <004a01cd7e59$58332b70$08998250$@com>
  0 siblings, 1 reply; 2+ messages in thread
From: theProphet @ 2012-08-19 18:45 UTC (permalink / raw)
  To: git-users-/JYPxA39Uh5TLH3MbocFFw; +Cc: git-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

I'm finding it annoying when browsing repositories at github and such that 
the description on every file and directory is only the last commit message 
given for that file.

I think it would be much more organizationally useful if the "git add" 
command accepted a message that will be associated with that file that 
describes its purpose.  A file name just isn't adequate to do the job and 
there's nowhere else where this is tracked.

Thanks guys!

mark
github/Social-Garden.


-- 
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/z8QL0uzNBCIJ.
To post to this group, send email to git-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to git-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/git-users?hl=en.


[-- Attachment #2: Type: text/html, Size: 1202 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git add "This file is for the blah class"
       [not found]     ` <02ad01cd7e5c$e95b7af0$bc1270d0$@com>
@ 2012-08-19 23:03       ` Mark Adam
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Adam @ 2012-08-19 23:03 UTC (permalink / raw)
  To: git-users-/JYPxA39Uh5TLH3MbocFFw; +Cc: git-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

On Sun, Aug 19, 2012 at 5:49 PM, NightShade <nightshade1632-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> Maybe something like
>
> Create initial version of class file or files “maybe even empty files”
> then use git add and git commit to store them in the repo and finally git
> notes to add the description.****
>
> ** **
>
> Since I mainly use git with drupal and just need to record when I create a
> site specific folder or add / update a module I have a very basic working
> knowledge of git. Based on how I interpret the below excerpt from the
> git-notes man page I think the above would work as long as there is not a
> commit between the initial addition/commit of the class files and the note.
> ****
>
> ** **
>
> This is from the git-notes man page at kernel.org****
>
> A typical use of notes is to supplement a commit message without changing
> the commit itself. Notes can be shown by *git log* along with the
> original commit message.****
>
> ** **
>
>
> Yes, that's all decent, but I'm trying to create a habitual methodology
about the documentation of files so that it helps the community as standard
practice.  The perfect place is really on the git add command line.  I
would suggest it at the main dev list, but I recently signed on and have
established any status there....  So will wait...

mark

-- 
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To post to this group, send email to git-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to git-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/git-users?hl=en.


[-- Attachment #2: Type: text/html, Size: 3154 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-19 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-19 18:45 git add "This file is for the blah class" theProphet
     [not found] ` <004a01cd7e59$58332b70$08998250$@com>
     [not found]   ` <CAMjeLr_chpUsb8L2bySZ9ccAGa2NtkcxnBTJT2zN0WcevF2mnQ@mail.gmail.com>
     [not found]     ` <02ad01cd7e5c$e95b7af0$bc1270d0$@com>
2012-08-19 23:03       ` Mark Adam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).