开发者

Funny markers in 'git log -p' output

开发者 https://www.devze.com 2023-01-18 03:03 出处:网络
I did a \'git log -p ..origin/xxxx\' and got markers such as: \'-<<<<<<< Updated upstream\' and \'->>>>>>> Stashed changes\', what does it mean and where is it expla开发者_如何转开

I did a 'git log -p ..origin/xxxx' and got markers such as: '-<<<<<<< Updated upstream' and '->>>>>>> Stashed changes', what does it mean and where is it expla开发者_如何转开发ined?


git log -p will simply show the log and prints the patch between two versions.

<<<<<<<, ======== and >>>>>>>>>> are conflict markers, used to highlight textual conflicts to users when merging or applying a stash

see the man page for git-merge for examples

0

精彩评论

暂无评论...
验证码 换一张
取 消