Various updates and cleanups for my howto on using branches in GIT
as a Linux subsystem maintainer. Three categories of changes:
1) Updates for new features in GIT 0.99.5
2) Changes to use "git fetch" rather than "git pull" to update
local linus branch.
3) Cleanups suggested by Len Brown
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
tony.luck@intel.com20 years agocommitted byJunio C Hamano
@ -5,12 +5,10 @@ Subject: Some tutorial text (was git/cogito workshop/bof at linuxconf au?)
@@ -5,12 +5,10 @@ Subject: Some tutorial text (was git/cogito workshop/bof at linuxconf au?)
Here's something that I've been putting together on how I'm using
GIT as a Linux subsystem maintainer.
I suspect that I'm a bit slap-happy with the "git checkout" commands in
the examples below, and perhaps missing some of the _true-git_ ways of
doing things.
-Tony
Last updated w.r.t. GIT 0.99.5
Linux subsystem maintenance using GIT
-------------------------------------
@ -48,24 +46,38 @@ Change directory into the cloned tree you just created
@@ -48,24 +46,38 @@ Change directory into the cloned tree you just created
$ cd work
Make a GIT branch named "linus", and rename the "origin" branch as linus too:
Set up a remotes file so that you can fetch the latest from Linus' master
Now create the branches in which you are going to work, these start
out at the current tip of the linus branch.
@ -78,15 +90,25 @@ These can be easily kept up to date by merging from the "linus" branch:
@@ -78,15 +90,25 @@ These can be easily kept up to date by merging from the "linus" branch:
$ git checkout test && git resolve test linus "Auto-update from upstream"