2005년 10월 06일
Diff와 Patch
오픈 소스에 기여하려면 자주 써야할 명령중에 하나인듯 싶다.
So let's find the implementation differences first:
$ cd ~/project2/src/geekos
$ diff -u -r . ~/project2-solution/src/geekos > ~/diff.patch
And then integrate them into project 3 base:
$ cd ~project3/src/geekos
$ patch -p0 < ~/diff.patch
$ rm *orig
So let's find the implementation differences first:
$ cd ~/project2/src/geekos
$ diff -u -r . ~/project2-solution/src/geekos > ~/diff.patch
And then integrate them into project 3 base:
$ cd ~project3/src/geekos
$ patch -p0 < ~/diff.patch
$ rm *orig
# by | 2005/10/06 02:31 | 프로그래밍 | 트랙백 | 덧글(2)











☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]