Clintm
Clintm

Reputation: 4877

Git diff two branches with a dot (.) in the name

When I run git diff origin/r35.2..origin/r35.3 I get:

fatal: bad revision 'origin/r35.2..origin/r35.3'

How do I escape the dots in the name?

Upvotes: 4

Views: 2099

Answers (1)

Bill
Bill

Reputation: 1425

Escape with backslashes \.

git diff origin/r35\.2..origin/r35\.3

Upvotes: 9

Related Questions