git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Commiting automatically
@ 2010-09-24 20:43 Maaartin
  2010-09-25  8:01 ` Ramkumar Ramachandra
  2010-09-25 10:05 ` Alex Riesen
  0 siblings, 2 replies; 5+ messages in thread
From: Maaartin @ 2010-09-24 20:43 UTC (permalink / raw)
  To: git

I'm going to run periodically a process which uses the current working tree and 
I'd like to protocol what happens. As a part of the protocol I need the exact 
state of the working tree and that's what is git good for, right? But it must 
neither disturb my normal workflow nor interfere with my ordinal commits. I 
could probably use something like

GIT_DIR=a_special_git_dir
git reset --soft a_special_branch
git add -A
git commit -m "automatic"
git push

where the push would go to my ordinary external repository (used as a backup 
here). I'm quite a beginner and unsure what problem should I expect here.

Even if there were no problems, it's not very nice. It uses an additional 
repository which is quite strange. Moreover, there's no way to find out how the 
saved working tree snapshot is related to existing ordinal commits.


PS: I don't want to post separate "thank you" messages, so let me thank to 
everybody now. I've already had three questions and got three times a very 
helpful answer in a very short time, just fantastic.

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

end of thread, other threads:[~2010-10-10 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 20:43 Commiting automatically Maaartin
2010-09-25  8:01 ` Ramkumar Ramachandra
2010-09-25 10:05 ` Alex Riesen
2010-10-10 19:23   ` Maaartin
2010-10-10 21:11     ` Matthieu Moy

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).