Re: Moving a file back to an earlier revision.
- From
David Ho <davidkwho@gmail.com>
- Date
- Mar 31, 2006, 22:21 UTC
- Message-ID
- <4dd15d180603311421w7b48cfa4y80d3f9d565d4276f@mail.gmail.com>
- In-Reply-To
- <7vacb6thc7.fsf@assigned-by-dhcp.cox.net>
> Remember, a branch in git is very cheap, and is a powerful way > to keep track of things while you decide which alternate > universe to take. And even after you decide, you could always > look at and even build on the other universe.
I feel embarrassed to say this but in my branch there are commits to the driver and other commits for the board so it looks more like
---0---D1---B1---B2---D2---B3---B4---
D* - driver changes B* - board changes
So to go back to the 0 state I lose my board changes. But I hope what I did (in my reply to Linus) is very close to your idea of having separate branches.
David