开发者

Take diff of two different git repositories

开发者 https://www.devze.com 2022-12-24 20:01 出处:网络
I have two seperate git repositories at ~/linux and ~/android. I want to make a diff of the two repositories usin开发者_JS百科g git. Or is there any way to merge the two repositories.?

I have two seperate git repositories at ~/linux and ~/android. I want to make a diff of the two repositories usin开发者_JS百科g git. Or is there any way to merge the two repositories.?

Regards, Murugaprabu


git fetch --all $HOME/android in the other directory and then use git diff in the usual way.


Add both repos as remotes, fetch them and then diff/merge/do whatever you want.

0

精彩评论

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

关注公众号