summaryrefslogtreecommitdiff
path: root/doc/todo/origin_branch.mdwn
blob: 55c3a320c7e4998c0f3df47a4ac71c79cda46499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
keep an origin branch with the files debian ships
  
Not sure quite how to do this yet, it seems it would need to clone
the repo, switch to origin, and commit, then push back to /etc,
and either merge origin or commit a second time.
And do this after apt runs only, of course.

Alternatively, commit in /etc, then clone the repo, switch to origin, and
cherry pick the commit into origin?

Of coure, unless etckeeper is installed by debootstrap or thereabouts,
you won't have a true pristine origin branch.

etcgit manages this, maybe steal its method?
git://git.debian.org/git/users/jo-guest/etcgit.git