Friday, May 5, 2023

compare two branches

 git diff <local branch> <remote>/<remote branch>

For example, git diff main origin/main, or git diff featureA origin/next


git diff origin/master  upstream/master


git diff master upstream/master

No comments:

Post a Comment

Ruby Basics

Basics of Ruby   Start Ruby interpret On terminal just type rib ruby_docs $ irb 3 . 0 . 0 : 001 > name = "This is the first ...