Error while applying a patch in git

后端 未结 3 684
天涯浪人
天涯浪人 2021-01-31 11:25

I have a shallow clone, on which i made three commits. Here is the log:

$ git log --oneline --graph --decorate --all
* d3456fd (HEAD, maste

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-31 11:46

    ok. the following worked .

    $ git am -3 --ignore-whitespace /c/temp/git/format_since_origin.patch
    Applying: patch 1
    Applying: patch 2
    Applying: patch 3

    Why would i need to ignore whitespace while applying?

提交回复
热议问题