Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 332 Bytes

index.md

File metadata and controls

23 lines (14 loc) · 332 Bytes

git theirs

Checkout their version of a file and add it

Git alias:

theirs = !"f() { git checkout --theirs $@ && git add $@; }; f"

Example:

git theirs

Compare: