On 17.07.2012 23:20:03, Hisham wrote:
> On Tue, Jul 17, 2012 at 2:01 AM, Ildar Mulyukov  
> <[email protected]> wrote:
> > On 17.07.2012 10:47:23, Hisham wrote:
> > As I see, you don't use GIT as the base SCM for your development :(  
> .
> 
> The truth is that I use it, but I'm terrible at git. I've been a CVS
> and Subversion user for years and I only know the basics of Git, and
> often I get things wrong, such as...

Don't worry, you're doing fine! :) Anyway, if you ever need a  
consultation, you have your users (LR users) around to help. Ask me :)

> > E.g. v2.0.10 tag is *ahead* of the master branch.
> 
> How did *that* end up happening? Here's what I did, based on my shell  
> history:
> 
> git commit -a # to commit the last-minute 2.0.10 stuff
> git tag v2.0.10
> git push --tags

This is to push just tags, nothing else. So it did. (You just need to  
realize that *master* is just a mere branch, nothing special. You have  
to push it with "master" in cmd line or with "--all").
As a side note, that irritates me too: you just can't push a couple of  
branches _and_ new tags at one shot (well, you /can/, but you need to  
finetune your .git/config for that).

> Now, just to check, I did
> 
> git pull
> git push
> 
> and it reported:
> 
> ]git pull
> Already up-to-date.
> ]git push
> Total 0 (delta 0), reused 0 (delta 0)
> To [email protected]:keplerproject/luarocks.git
>    44de5cc..64153c9  master -> master
> 
> And even though "pull" said "already up-to-date" and "push" said "0,
> 0, 0, 0", which made me think nothing really happened... *now* master
> seems to match v2.0.10 in Github... I think?

Exactly. JFYI, my usual command is:
$ git push git.alt:packages/`basename $PWD` master ; git push  
git.alt:packages/`basename $PWD` --tags
Two shots total. New tags and the master branch pushed.

Regards,
-- 
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: [email protected]
home: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to