On Mon, May 21, 2012 at 9:06 AM, 郭晓峰 <lamu...@gmail.com> wrote:

> git svn clone -s -r HEAD https://tmux.svn.sourceforge.net/svnroot/tmux
>
> "-s" means keeping git understand svn's tags/branches/trunk structure,
> and "-r HEAD" means you just want to check out the latest version.
> Because you use "-s", you can't add "trunk" at the end of the svn
> link.
>
> Hope it helps.
>
> On Thu, May 17, 2012 at 12:55 AM, Sinbad <sinbad.sin...@gmail.com> wrote:
> > i'm trying to pull latest tmux code from git.
> > when i run "git svn clone <link>" it is fetching
> > all the revisions, how can i just pull the latest
> > snapshot of the code without getting revision
> > history. i did some googling, and found that
> > git's depth option can be used, but depth option
> > is not supported in git-svn, is there any other
> > way just to pull the latest code using git.
> >
> > cheers
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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/
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
>

Hi lamuguo, thanks it helped !
------------------------------------------------------------------------------
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/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to