Snippets

Peter Sudmant git tricks

Created by Peter Sudmant last modified
------------
when merging w/ lots of conflicts - taking just the SOURCE or the TARGET
https://stackoverflow.com/questions/10697463/resolve-git-merge-conflicts-in-favor-of-their-changes-during-a-pull
------------

------------
using the difftool

https://gist.github.com/mattratleph/4026987

##start merge
git mergetool

##vimdiff commands

]c :        - next difference
[c :        - previous difference
do          - diff obtain
dp          - diff put
zo          - open folded text
zc          - close folded text
:diffupdate - re-scan the files for differences

https://stackoverflow.com/questions/161813/how-to-resolve-merge-conflicts-in-git
diffg RE / diffg LO
------------

------------
cleaning up a giant git repo
https://stackoverflow.com/questions/1029969/why-is-my-git-repository-so-big
------------

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.