-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Jun 17, 2007 at 07:36:28PM +0530, pradeep singh wrote: > I just finished setting up my git repository. > I was able to clone the git repo fine and pull Linus's latest 2.6.22-rc5 > tree. > > But i am not able to pull the tags using > > $ cd /mnt/reiser/linux-2.6 [this dir holds Linus' tree] > $ git pull -t If you just cloned the repo it already has all tags and you don't need the "-t" flag for git. Just do "git tag -l" to see all tags. > I get following error :- > > $fatal: 'origin': unable to chdir or not a git archive > fatal: unexpected EOF > Failed to find remote refs > warning: tag ignored > fatal: 'origin': unable to chdir or not a git archive > fatal: unexpected EOF > Fetch failure: origin > No changes. Not sure what happens, ask on the git mailing list if it really bothers you. > Ok i am fine with this as i have pulled Linus' tree successfully. > Now can i use my locally generated tag for the tree. i.e > > $ git tag "Linux 2.6.22-rc5" > > Is this acceptable? AFAIK tags can't contain spaces, but other than that you can tag all you like. > Does this renders my pulled tree useless because i generated the tag > locally? It doesn't make it useless. If you make a tag with "git tag mytag" it's just a "symlink" without a commit, it will only help you to find certain commits easier. For example: "git tag v2.6.22-rc5-works-ok". You can pull from Linus repo without problems. If you use the -a or -s flag, the tag will actually be a commit, which will make future pulls from Linus repo a merge instead of a standard fastforward. Still not a useless repo, but not one that's like Linus repo. If you want to make such tags, you rather make them in a branch. Erik - -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGdVOZ/PlVHJtIto0RAsLqAKCLF67rVibQE1KTxQeqyvEXvqyiWACfT+m0 tjzWZZOKhgD0YScAvxuixzA= =Bd4O -----END PGP SIGNATURE----- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ