tags and patches
- From
Geoff Russell <geoffrey.russell@gmail.com>
- Date
- Jun 13, 2007, 10:52 UTC
- Message-ID
- <93c3eada0706130352h3ad6857eie01e1171fdda3991@mail.gmail.com>
Dear gits,
(I'm on 1.5.0.5)
The last tag made seems to be missing from a patch ... eg.
cd ~ ; mkdir myrepo ; cd myrepo
git init-db ; echo STUFF > xxx ; git add xxx
# work, work, work on xxx
git commit -a
git tag v1.0
# work work work on xxx
# then I clone this repository
cd /tmp ; git clone ~/myrepo newmyrepo
# go back and work some more
cd ~/myrepo
echo YYY >>xxx
git commit -a
git tag v1.1
# is git commit -a required to commit the tag???
git format-patch v1.0
cd /tmp/newmyrepo
git am ~/myrepo/THEPATCHNAME
git tag lsWhere is tag v1.1 ?
Cheers, Geoff Russell