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'


原文地址:https://www.cnblogs.com/riskyer/p/3246676.html