[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: jj.png (4 KB, 318x159)
4 KB
4 KB PNG
i was bored and installed this to have talking points against shillers, but i can't stop using it.

> no need to git stash
> no need to manually branch
> no need to stage
> no need to reflog, can just undo/redo
> can keep both .git/ and .jj/ for backward compatibility

besides that, it actually makes using the cli a fun experience. why should anyone still use git?
>>
Or just invest the time to learn how Git works
>>
sure, you don't need to do anything if you aren't coding lol. You eventually will need to use git features for anything nontrivial. How does JJ deal with these situations better?
>>
>>107731611
why? no one else does and all your knowledge is generally invalidated by sane and modern solutions: delete everything, reclone, reapply change(s).
I'm tired of "how git works" at this point. I was the designated bitch who had to figure out why changes got lost in merge resolution and other insane shit and it gets old after awhile.

idk shit about jj, but anything is better than shit (git) at this point.
>>
>>107731611

you literally can't appreciate jj without mastering git

>>107731628

mention any nontrivial thing use git for?

for bisect you can do something like:
jj bisect start
jj bisect bad @ (if it's broken)
jj bisect good main@origin (if it's good)

drops you in and out of commits without manually rebasing.
>>
>git is hard to use
If you're constantly running into problems with git you're using git wrong. Granted, based on what I've seen most companies and teams have absolutely gigaretarded git workflows and they're complicating shit just for the sake of complicating shit. And then cry how git is too hard to use.
>>
>>107731795
learn to fucking read retard. why would i want to run 50 git commands when i can just create a better workflow?
>>
>>107731558
I just use a GUI (Fork). GUIs are better for everything in my opinion. Humans are visual creatures and having more information immediately available to me is nice and helps reduce my anxiety. I don't get why some people like to pretend they're on a 1960s teletype.
>>
>>107731719
>mention any nontrivial thing use git for?
bait or saar?

Also you gave some meaningless commands. How does jj conceptually deal with, for example, branching differently so you don't need to 'manually branch'? If you're going to shill something at least do it right
>>
>>107731820
Having to run 50 git commands means your git workflow is straight up retarded and that's why you have to wrangle git.

If you're regularly using commands outside the following your git workflow is retarded and you've only got yourself to blame.
>diff
>add
>stash
>checkout
>merge
>commit
>push
>pull
>status
>log

Git commands are even descriptive. You don't have to remember a dozen flags either. If you're too dumb to use the CLI version then just use some GUI implementation. If you can't do something easily with GUI git then you're trying to do something that's retarded.
>>
u need magit.
>>
>>107731883
> asks for nontrivial commands
> "meaningless commands" for one of the most underutilized nontrivial git commands
> "show me branching please"

if you must know, commits are treated as first class in jj. so you're always in a new commit without having to git add. you can classify a bunch of them in a "bookmark" (branch) afterwards.

>>107731914
you're either 12 or have a genuine comprehension problem or both. i don't even have aliases for those git commands like most people and use them regularly, but none of that saves my work as a first class for example. i always have to git add regardless whereas it's opt-out in jj because there's no detached HEAD, which makes it better.
>>
>>107732031
>asks for nontrivial commands
I asked for how JJ deals with situations that are annoying in git.

>commits are treated as first class in jj
so just like git, its the fundamental unit for change
>so you're always in a new commit without having to git add
??? Do you just git add all every single time you commit?? Do you just commit secrets to VC for no reason??
>you can classify a bunch of them in a "bookmark" (branch) afterwards.
If you can arbitrarily choose commits to form a branch, how do you deal with the fact that the commits make changes to different versions of the code base (the main reason cherrypicking is difficult in git). If you cant, then congrats you renamed branches bookmarks.

Understand your tool better.
>>
I dunno anon I never had trouble using git. I understand how it works and I don't need to run like 1000 commands to do what I want.
I'm a very simple man:
git add -p
git commit
git push
>>
>>107731558
That's great. I didn't read any of that and I don't know what that is but I will go out of my way to smear it whenever I see it again just because you shilled it here. Kill yourself.
>>
>>107731558
Jj shills are extremely transparent because you all structure your shillposts like this:
>i totally didn't want to use it you guys
>but then i tried it
>and it's so much better because [vague bullshit that isn't an issue in git or any other popular vcs like svn]
>now I'm never going back to git and anyone who still uses git is a nazi

I don't know how much HackerNews or Reddit is paying you to make these posts, but it's not worth what little dignity you may have left.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.