On Friday 24 July 2009 19:46, Mike Frysinger wrote: > > I was using > > > > svn cp \ > > svn+ssh://[email protected]/svn/branches/busybox_1_12_stable \ > > svn+ssh://[email protected]/svn/tags/busybox_1_12_4 > > > > in svn days. > > > > I gather I should use "git tag -a <name>" in git? > > -a is the default, so you need to just do: > git tag 1_14_0 <commit id> > git push 1_14_0
I seem to be able to create tags locally, but puching them to the remote side doesn't work: # git checkout -b 1_14_stable origin/1_14_stable Branch 1_14_stable set up to track remote branch refs/remotes/origin/1_14_stable. Switched to a new branch '1_14_stable' # cat /.1/usr/srcdevel/bbox/fix1142/*.patch | patch -p1 patching file coreutils/df.c patching file include/libbb.h patching file libbb/find_mount_point.c patching file util-linux/mkfs_minix.c patching file util-linux/mkfs_vfat.c patching file coreutils/ls.c patching file testsuite/ls/ls-1-works patching file testsuite/ls/ls-h-works patching file testsuite/ls/ls-l-works patching file testsuite/ls/ls-s-works patching file include/applets.h patching file coreutils/test.c patching file testsuite/test.tests patching file networking/udhcp/files.c # git commit -a -s [1_14_stable 4cd4eb4] apply post-1.14.2 patches 14 files changed, 99 insertions(+), 56 deletions(-) # git commit -a -s [1_14_stable 1e32f91] bump version to 1.14.3 1 files changed, 1 insertions(+), 1 deletions(-) # git tag 1_14_3 # git push 1_14_3 fatal: '1_14_3': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly # git push Counting objects: 51, done. Compressing objects: 100% (25/25), done. Writing objects: 100% (27/27), 3.62 KiB, done. Total 27 (delta 22), reused 4 (delta 2) To git+ssh://[email protected]/var/lib/git/busybox.git 6a98f95..1e32f91 1_14_stable -> 1_14_stable # git push 1_14_3 fatal: '1_14_3': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly What I'm doing wrong? -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
