Re: [git-users] Re: svn to git question

2012-07-19 Thread Thomas Ferris Nicolaisen
On Thursday, July 19, 2012 8:34:50 AM UTC+2, Gabby Romano wrote: > > Thanks Tomas. > > my svn structure is trunk/branches/tags based, although I don't need it > like that in git. > > lets say I am pulling from > https://svn.isr.hp.com/rg0202/alm/horizon/trunk(since I need only trunk's > histo

Re: [git-users] Re: svn to git question

2012-07-19 Thread Thomas Ferris Nicolaisen
On Thursday, July 19, 2012 10:36:20 AM UTC+2, Thomas Ferris Nicolaisen wrote: > > > You can delete the other branches afterwards if you don't want to keep > them. If they contain history of the trunk, you have to include them if you > want the entire history, of course. > Correction: You have

[git-users] Re: Commit automatically a file with the same commit message

2012-07-19 Thread durium
Ok thanks ! On Jul 18, 12:44 am, Konstantin Khomoutov wrote: > On Tue, Jul 17, 2012 at 01:31:53PM -0700, durium wrote: > > I was wondering if it was possible for git to automatically commit a file > > with the same commit message. > > As a matter of fact, i work with code::blocks and this one gen

Re: [git-users] Re: svn to git question

2012-07-19 Thread Gabby Romano
Thanks. Can I run it with -s but still to start at some revision as in -r:HEAD ? On Thu, Jul 19, 2012 at 11:36 AM, Thomas Ferris Nicolaisen wrote: > > > On Thursday, July 19, 2012 8:34:50 AM UTC+2, Gabby Romano wrote: >> >> Thanks Tomas. >> >> my svn structure is trunk/branches/tags based, alt

Re: [git-users] Re: svn to git question

2012-07-19 Thread Thomas Ferris Nicolaisen
On Thursday, July 19, 2012 12:46:16 PM UTC+2, Gabby Romano wrote: > > Thanks. > > Can I run it with -s but still to start at some revision as in > -r:HEAD ? > > You sure can. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this

[git-users] Re: Creating an initial git repository

2012-07-19 Thread P Rouleau
I suggest to read http://hginit.org. The first section title is "Subversion Re-education". You can also read the rest; mercurial and git are very similar. In Subversion, tags and branhes are really just specially named directories. In git, they are two different things. It does not take long t

[git-users] Re: Creating an initial git repository

2012-07-19 Thread Tim Chase
On 07/19/12 06:54, P Rouleau wrote: > I suggest to read http://hginit.org that URL was failing for me. I presume you mean http://hginit.com -tkc -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to

[git-users] Re: Creating an initial git repository

2012-07-19 Thread PeterSteele
I had already figured that out as well. Thanks... On Thursday, July 19, 2012 6:12:49 AM UTC-7, Tim Chase wrote: > > On 07/19/12 06:54, P Rouleau wrote: > > I suggest to read http://hginit.org > > that URL was failing for me. I presume you mean > > http://hginit.com > > -tkc > > > -- You

Re: [git-users] Re: svn to git question

2012-07-19 Thread Gabby Romano
It doesn't work. it seems there are junctions in the svn tree which git-svn don't know what to do and hence stop. since the follow-parent option is turned on by default according to the docs, I need to search for other options. new ideas are welcomed. On Thu, Jul 19, 2012 at 1:50 PM, Thomas Ferris

[git-users] Recover from deleting local copy of repo files using external app

2012-07-19 Thread TSU
Instead of "git rm" I removed files in local copy using a non-git external application. How to sync files from github again? Looks like git will download only changes from what was downloaded before and doesn't recognize files no longer exist locally. Have tried "git reset --hard master" and "g

Re: [git-users] diff on ubuntu 12.04

2012-07-19 Thread Bart Baker
On Thu, Jul 19, 2012 at 07:40:42AM +0400, Konstantin Khomoutov wrote: > On Wed, Jul 18, 2012 at 04:10:19PM -0700, Bart Baker wrote: > > > I apologize if this is a repeat post, but I haven't been able to find this > > issue referenced. I'm running git on Ubuntu 12.04. Most of the commands work > >

Re: [git-users] diff on ubuntu 12.04

2012-07-19 Thread Konstantin Khomoutov
On Thu, Jul 19, 2012 at 06:04:32PM -0400, Bart Baker wrote: [...] > > Try running `git diff` so that is sees the GIT_TRACE environment > > variable set to 1, and post the output here. [...] > $ sudo su > # export GIT_TRACE=1 > # git diff > trace: built-in: git 'diff' > trace: run_command: 'pager'

Re: [git-users] Re: svn to git question

2012-07-19 Thread Thomas Ferris Nicolaisen
Git-svn cannot trace history outside the given trunk and branches in the standardlayout (trunk and branches). You need to analyze these junctions and figure out where in the SVN tree the history comes from. Then you have to make a new clone for each junction and splice them using grafting, as I

[git-users] Re: Recover from deleting local copy of repo files using external app

2012-07-19 Thread Thomas Ferris Nicolaisen
On Thursday, July 19, 2012 11:18:09 PM UTC+2, TSU wrote: > > Instead of "git rm" I removed files in local copy using a non-git external > application. How to sync files from github again? Looks like git will > download only changes from what was downloaded before and doesn't recognize > files no