[git-users] [solved] Re: Importing Subversion vendor-branches to Git

2012-10-19 Thread Carsten Fuchs
Hi all, thanks to the great help of Thomas and Damien, I've been able to complete our conversion from Subversion to Git successfully. For possible future readers (including myself, in case I cannot remember the next time ;-) ), I've written down all the steps and considerations that compris

[git-users] Re: [solved] Re: Importing Subversion vendor-branches to Git

2012-10-19 Thread Thomas Ferris Nicolaisen
Glad you made it through! That's a great write-up, and good reference for future converters (convertees?) that run into those issues. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://grou

[git-users] How to create a branch that contains ONLY a range of commits

2012-10-19 Thread ericpar
Hi all, I've been migrating our SVN repository to GIT and it went pretty straightforward. However, due the the lack of disciplin in the SVN era, we have a repo that's full of non-related stuff and cloning it takes time; most of the stuff isn't required anymore. I'd like to sanitize my actual

[git-users] Re: How to create a branch that contains ONLY a range of commits

2012-10-19 Thread Damien Robert
Hi Eric, I can think of two ways to do what you require: the first is to use a shallow clone: git clone --depth 10 will only fetch 10 commits above HEAD. Technically how it works is that if the tenth commit is sqy H, then it replace the parent of H by an empty commit using grafts, so it works a

[git-users] Dynamic gitignore rules

2012-10-19 Thread João Moreno
Hey, Is there any way to defined rule based ignore rules like the such: "ignore *.js if there is a *.ts file in the same directory, and with the same basename"? For example, in a CoffeeScript project one can have compiler generated JavaScript files as well as manually written JavaScript files:

[git-users] Re: Dynamic gitignore rules

2012-10-19 Thread Thomas Ferris Nicolaisen
On Friday, October 19, 2012 3:44:54 PM UTC+2, João Moreno wrote: > > Hey, > > Is there any way to defined rule based ignore rules like the such: "ignore > *.js if there is a *.ts file in the same directory, and with the same > basename"? > > For example, in a CoffeeScript project one can have c

Re: [git-users] Re: Checkout a remote branch

2012-10-19 Thread Gabriel Lau
Thanks for your reply Konstantin. I did what you said and it worked as I wanted. Now I can switch between the branchs when necessary. I just have one more question: whenever I have to checkout between branchs, I have to input the commands that you showed me. Is there any way to automate this proce