git备忘录

1.git: patch does not apply

git apply --ignore-space-change --ignore-whitespace mychanges.patch

 

 2.Get current branch(in Bash)

 

git branch | sed -n '/\* /s///p'


 

 

posted on 2013-08-08 21:05  you Richer  阅读(185)  评论(0编辑  收藏  举报