From: "Boyd Stephen Smith Jr." <bss@iguanasuicide.net>
To: "Conor Rafferty" <conor.rafferty@altmore.co.uk>
Cc: git@vger.kernel.org
Subject: Re: for newbs = little exercise / tutorial / warmup for windows and other non-sophisticated new Git users :-) [Scanned]
Date: Tue, 30 Dec 2008 18:12:09 -0600 [thread overview]
Message-ID: <200812301812.12759.bss@iguanasuicide.net> (raw)
In-Reply-To: <BB5F02FD3789B54E8964D38D6775E718242D33@ALTMORE-SVR.altmore.local>
[-- Attachment #1: Type: text/plain, Size: 3297 bytes --]
On Tuesday 2008 December 30 16:55:38 Conor Rafferty wrote:
> Whoa there Stevey, I'm a windows user, don't forget
I just assumed you were also a git user. ;)
> However if this is what its gonna take to get what I want, then Im'
> outta here.
You aren't being entirely clear about what you want.
> Getting a snapshot on the filesystem, in terms of a directory tree (not
> a reference to, representation of etc etc. but a real life directory
> tree, files and folders that you can actually interact with - build,
> edit etc.), of a past version is a basic operation in my book.
> Even in clearcase this was a cinch.
Well, there's a lot of things about UNIX and Windows directories that git
doesn't store. It'll restore the contents, sure, but not the permissions,
timestamps, etc. However git also stores the *history*, if you don't care
about that, tarballs or zip archives might actually be a better system for
your purposes.
But, each time you commit you've made some snapshot (completeness depends on
what you staged with git add and friends) and recorded that snapshot as
a "later point in time" from the last snapshot you "git checkout"ed. That
new object (a "commit") can be identified by it's sha1. It holds a sha1 of
all it's parents (also "commits") and of the snapshot alone (a "tree").
You've also figured out how to use lightweight tags to give names (other than
their sha1) to your commits.
> Is there anyone who can see anyway to do this simply, without a script,
> without creating a branch ?
Branching is arguably easier than tagging, and probably what you want to do
instead. Sure, branches are mutable, but unsigned tags are also fairly
mutable.
> Personally I suspect "$ git checkout <version> ." is what should be
> doing this.
I'm pretty sure what you want is "git checkout <version>" not "git checkout
<version> <paths>". They operate differently. Modern git can checkout a
lightweight tag, but it's going to warn you that it not what you want.
> - but if you want ppl out there in the user world to take this stuff on,
> its gotta work for them
Maybe others do, but I don't really see git as an end-user tool. It's a
developer tool and rightly demands a bit of RTFMing before using it
effectively.
What you seem to *really* want is a bunch of named trees without any
relationship between one another. IMHO, git isn't really good at that (but
only because it demands to do more). A directory full of tarballs /
zip-archives and a couple of scripts you wrote yourself (extract.sh;
name-and-save.sh) would probably be better.
I admit that there seems to be quite a niche for some sort of trivially usable
VCS, but it needs to be good at merging spreadsheets, compressed/binary XML,
presentations/decks, and other things not-text, have a pretty GUI, and run
securely over TCP/IP ports that no one is willing to block. It will probably
be next to useless for doing what git was initially designed for (managing
Linux kernel patches).
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-12-31 0:13 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 22:55 for newbs = little exercise / tutorial / warmup for windows and other non-sophisticated new Git users :-) [Scanned] Conor Rafferty
2008-12-31 0:12 ` Boyd Stephen Smith Jr. [this message]
2008-12-31 2:22 ` Sitaram Chamarty
-- strict thread matches above, loose matches on Subject: below --
2008-12-31 11:10 Conor Rafferty
2008-12-31 16:00 ` Daniel Barkalow
2008-12-31 10:59 Conor Rafferty
2008-12-31 2:30 Conor Rafferty
2008-12-31 3:40 ` Boyd Stephen Smith Jr.
2008-12-31 4:48 ` Junio C Hamano
2008-12-31 5:21 ` Daniel Barkalow
2008-12-31 6:07 ` Junio C Hamano
2008-12-31 15:14 ` Boyd Stephen Smith Jr.
2008-12-31 2:27 Conor Rafferty
2008-12-31 2:35 ` Jeff Whiteside
2008-12-31 2:56 ` Boyd Stephen Smith Jr.
2008-12-31 3:10 ` Daniel Barkalow
2008-12-31 3:49 ` Daniel Barkalow
2008-12-31 12:17 ` Zorba
2008-12-31 13:48 ` Sitaram Chamarty
2008-12-31 16:24 ` Daniel Barkalow
2008-12-31 16:33 ` Sitaram Chamarty
2008-12-31 12:03 ` Zorba
2008-12-31 13:37 ` Sitaram Chamarty
2008-12-30 22:36 Conor Rafferty
2008-12-30 23:31 ` Boyd Stephen Smith Jr.
2008-12-31 0:15 ` Daniel Barkalow
2008-12-31 2:22 ` Jeff Whiteside
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812301812.12759.bss@iguanasuicide.net \
--to=bss@iguanasuicide.net \
--cc=conor.rafferty@altmore.co.uk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.