This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-08
Channels
- # bangalore-clj (4)
- # beginners (88)
- # boot (12)
- # cljs-dev (10)
- # cljsjs (1)
- # clojure (284)
- # clojure-denmark (2)
- # clojure-dev (35)
- # clojure-italy (8)
- # clojure-russia (36)
- # clojure-spec (38)
- # clojure-uk (51)
- # clojurescript (145)
- # cursive (6)
- # data-science (1)
- # datomic (8)
- # duct (43)
- # emacs (9)
- # figwheel (2)
- # fulcro (29)
- # graphql (1)
- # immutant (3)
- # instaparse (1)
- # jobs (1)
- # jobs-discuss (1)
- # lumo (16)
- # off-topic (50)
- # onyx (90)
- # re-frame (6)
- # reagent (20)
- # remote-jobs (3)
- # ring-swagger (18)
- # schema (8)
- # shadow-cljs (141)
- # slack-help (3)
- # spacemacs (36)
- # unrepl (7)
- # vim (1)
- # yada (2)
I think if you type just branch-b
, you'd get branch-a..branch-b
with two dots, not branch-a...branch-b
.
three dots means just show the changes made on branch-b
, ie don't show commits that have been made on branch-a
and not merged to branch-b
.
I thought I knew a lot about git, turns out there are whole corners that lay undiscovered
Which is why IMO a tool like magit is so awesome: it provides more affordances to guide you in discovering git's capabilities. Which is what all the tools like SourceTree kinda try to do too, but they're all pretty crippled...
@eggsyntax - I think the ..
vs ...
is the other way around. A..B
gives everything in B but not A. A...B
gives all commits unique to either.
https://stackoverflow.com/questions/462974/what-are-the-differences-between-double-dot-and-triple-dot-in-git-com#24186641
And agreed about git affordances! 👍
That is weird! I'm interested to know what you figure out.
Something's really weird here.
[13:20] pages> git diff master...ui/debit-memo-add-real-data | wc
1789 6591 76485
[13:38] pages> git diff master..ui/debit-memo-add-real-data | wc
4382 17411 221281
That is weird. I wonder if diff
is presenting things differently somehow. Can you try rev-list
in place of diff
and see what you get?
Have you read that? Me too. Good book!
it's an excellent book, but clearly I didn't internalize it because this is the first I'm seeing the difference in the double and triple dot syntax
I see, it's just a bit confusing. I think the explanation in this answer is a lot clearer: https://stackoverflow.com/a/7256391/284564
Meh, tried to post the relevant screenshot, but apparently clojurians is out of storage space 😆
I see the screenshot. Nice explanation. So it was git diff
after all.