Quantcast
Channel: How to do 'git checkout --theirs' for multiple files (or all unmerged files) - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by isherwood for How to do 'git checkout --theirs' for multiple files (or all unmerged files)

$
0
0

The solution for my case ended up being to simply use a wildcard in the directory path, since the files were grouped:

git checkout --theirs directory_name/*git add directory_name/*

This may also work, according to helios456:

git checkout --theirs directory_name/.

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>