Business Case Requirement: I would like to have a way to attach (document) the current git
(build?) with a periodic datadump/snapshot process.
=================================================
Edit: Let's try to make this question clearer.
We have a routine snapshot process that captures substantial amounts of data
Our GIT repo works just fine - not problem with it and we have it in multiple locations
We have lots of updates occurring on production. Some change the production schema.
We want to include some indicator of the exact build used in production at the moment of the snapshot.
Goal: If a restore is required we can pull form the repo and the snapshot and know the two were meant for each other :)
=================================================
Snapshots are like life insurance - pray you never need it but hope to hell you have it when you do...
It would be very nice to know exactly what the status of an App was at the time of it's data snapshot.
What useful commands does git
have to support an operation to document it's current position as well as the position of remote and local repositories of course.
What would be the best switches to use (and why)?
Are the specific output forms that are more useful for those situations when a restore might be required -- perhaps even ways to pre-script the process?
git status
by itself doesn't seem to tell all that much although I do see the -porcelain
switch and other possible goodies to investigate.