2010年2月4日 星期四

git get the patches



git log >1.txt
0. git tag
1. git tag R6-v0.0.1 xxxxxxxxx1
2 git config core.filemode false
4. git add .
3. git commit -a(for new files)
5 git tag R6-v0.0.2 xxxxxxxxx2

view the logs
6. git log R6-v0.0.2 --stat --summary |sed '/mode\ change\ 100644/d' > pd_r6.patch
get the patches
7. git diff --binary R6FSL.0.0.1.. |sed '/mode\change\ 100644/d' >pd_kernel_patch.diff

(include binary files like *.a *.jar)

===================create new git repository=========
1. git init
make modfication
2. git add .
3. git commit
4. "git log" to check back
5

沒有留言:

張貼留言