Post Axlz3ozOBChg6mfv4i by [email protected] | |
More posts by [email protected] | |
Post #AxlpYevUdzHyKnv1e4 by [email protected] | |
0 likes, 0 repeats | |
another somewhat obscure Git question: if you've ever passed a <tree-ish… | |
Post #AxlpYf2wCJFAhtOyFU by [email protected] | |
0 likes, 1 repeats | |
@b0rk it's been quite a while but I *think* I've used tree-ish to hand … | |
Post #AxlrDhTk9uK84t4ZuK by [email protected] | |
0 likes, 1 repeats | |
@[email protected] from what I understand, it's all pointers to a commit:… | |
Post #Axlz3ofXN0p97DO48G by [email protected] | |
0 likes, 0 repeats | |
@b0rk “git cherry-pick branch-name-that-has-a-commit-I-frequently-need-and-ha… | |
Post #Axlz3omcweUlTChjBQ by [email protected] | |
0 likes, 1 repeats | |
@DavidAnson @b0rk yep, `git cherry-pick branch` whenever I'm working on pro… | |
Post #Axlz3ozOBChg6mfv4i by [email protected] | |
0 likes, 0 repeats | |
@b0rk (Based on other replies, maybe that does not count as a tree-ish, sorry.) | |
Post #AxnPlcfw7CFIcs5Ckq by [email protected] | |
0 likes, 0 repeats | |
@b0rk it’s been mentioned, but another vote for merging other repos into the … | |
Post #AxnTRP8x7IV8gMGmbg by [email protected] | |
0 likes, 0 repeats | |
@b0rk yes, I've occasionally referred directly to a tree rather than a comm… | |
Post #AxnTRPGOfcSL3RkjD6 by [email protected] | |
0 likes, 0 repeats | |
@simontatham @b0rk I have done this too. Doing `git show commit:filename > … | |
Post #AxnTRPNUFG7xPR4OGG by [email protected] | |
0 likes, 0 repeats | |
@simontatham @b0rk I do have a command, `git-treehash`, which I used to use qui… | |
Post #AxnTRPTrrXEPjE3UCu by [email protected] | |
0 likes, 0 repeats | |
@mjd @b0rk for that kind of "I intended not to change anything" git r… | |
Post #AxnTRTZgdqGMQQoBpg by [email protected] | |
0 likes, 0 repeats | |
@simontatham if you're happy with a command-line tool, you could probably h… | |
Post #AxnTRXI6p8Zxx4cCzQ by [email protected] | |
0 likes, 0 repeats | |
@simontatham thanks, this is great!I think the reason it feels "weird"… | |
Post #AxnTRXO8SjOqFlR1No by [email protected] | |
0 likes, 0 repeats | |
@b0rk yes, I agree with that. It's only a matter of which happens to spring… | |
Post #AxpSEcndJxTJdKYmB6 by [email protected] | |
0 likes, 0 repeats | |
@b0rk is a stash (stashed change?) a <tree-ish>? I guess one could do stu… | |
Post #AxpSEcuitb8vzJsREG by [email protected] | |
0 likes, 0 repeats | |
@DerPumu it’s a commit it turns out! | |
Post #AxpSFOdLTVlNzK7Eo4 by [email protected] | |
0 likes, 0 repeats | |
I think this is my favourite reply to "what is a <tree-ish>" fo… | |
Post #AxpSFYaWSrRmrSs7nM by [email protected] | |
0 likes, 0 repeats | |
@b0rk Poor Ben's personal instance obliterated by the federation traffic | |
Post #AxpSFbkCjJySeMQOno by [email protected] | |
0 likes, 0 repeats | |
@b0rk I honestly have no idea what a <tree-ish> that isn't a <comm… | |
Post #AxpSFbqwKHMUzFZmIi by [email protected] | |
0 likes, 0 repeats | |
@zwol an example is HEAD:src, it gives you the "tree" that's the … | |
Post #AxpSFbwbzBtnGqEJ8q by [email protected] | |
0 likes, 0 repeats | |
@b0rk @zwol wait, does `git show branch:file.cpp` count then? Presumably not, t… | |
Post #AxpSFc2zbT0FadDP5U by [email protected] | |
0 likes, 0 repeats | |
@aburka @zwol yeah that's a different thing (and to me that's much more… | |
Post #AxpSGGZIwkcJGQdm0O by [email protected] | |
0 likes, 0 repeats | |
@b0rk paragraph 2: I read the -ish as "something that will eventually reso… | |
Post #AxpSGGg2Xi0LbJn9VI by [email protected] | |
0 likes, 0 repeats | |
@benc this is actually an incredible explanation and I hadn't thought of it… | |
Post #AxpSGtfhYtuIXYvvtI by [email protected] | |
0 likes, 0 repeats | |
@b0rk I use `git show commit:path/to/file` pretty often, to see files at old co… | |
Post #AxpSGtmR9rIKsS5JOC by [email protected] | |
0 likes, 0 repeats | |
@groxx I love doing that so much (I just learned about it last year and I use i… | |
Post #AxpSH3eISyj1U6Lx5c by [email protected] | |
0 likes, 0 repeats | |
@b0rk "actually a blob-ish" sounds plausible, yeah. git terms are a … |