Category: git

git diff with file pattern exclusion 0

git diff with file pattern exclusion

git diff <old-commit-hash> <new-commit-hash> ':(exclude)*.mdx' > diff.txt Example git diff 0022768e94766161a0c960e216e4afa26e34d66d 53b20cab480e20b4f6cad2e4795d36166eb6bf19 ':(exclude)*.mdx' > diff.txt

CONFLICT (submodule): Merge conflict in 'xyz' 0

CONFLICT (submodule): Merge conflict in 'xyz'

CONFLICT (submodule): Merge conflict in orthrus/external [dev@baobab vf]$ git checkout -b KRAK-1541-cleanup vfcore/orthrus/external: needs merge vfcore/vfcommonlib: needs merge error: you need to resolve your current index first [dev@baobab vf]$ git status # On branch...

Git create patch with submodules 0

Git create patch with submodules

Method #1   Commit your changes but do not push yet git format-patch -n HEAD^ Then go in each submodule you care and do the sam Method #2 Submodules git submodule --quiet foreach --recursive...