🆚
❤️
✨ gestion des conflits ✨
changes vs. commit
bookmark vs. branch
$ jj git init$ jj log$ jj st$ touch README.md$ jj log$ jj st$ jj describe -m "doc: begin the story"$ jj log$ jj st$ echo "# This is the beginning of everything" > README.md$ jj log$ jj st$ jj new$ jj log$ jj st$ jj bookmark create "pizza-doc"$ jj log$ jj st$ [..]$ jj log$ jj st$ jj bookmark set pizza-doc -r @$ jj log$ jj st$ jj new tlqotxyp -m "doc: switch to BURGEEERS"
$ echo "BURGERS BURGERS. only burgers\n\nMais aussi du contenu :)" >> README.md$ jj log$ cat README.md# This is the beginning of everything
BURGERS BURGERS. only burgers
Mais aussi du contenu :)$ jj rebase -s q -d n$ jj log$ cat README.md# This is the beginning of everything
BURGERS BURGERS. only burgers
Mais aussi du contenu :)$ jj edit q$ jj log$ cat README.md# This is the beginning of everything
<<<<<<< Conflict 1 of 1
+++++++ Contents of side #1
BURGERS BURGERS. only burgers
Mais aussi du contenu :)
%%%%%%% Changes from base to side #2
+## A pizza story
>>>>>>> Conflict 1 of 1 ends$ vim ( ou emacs ( ou code ( ou cursor ( ou zed ))))$ jj log$ cat README.md# This is the beginning of everything
Mais aussi du contenu :)
## A pizza story$ jj undo$ jj squash -f msnztxwv -t qyopvuru$ jj split qyopvurupas de precommit hook 😭
pas de submodules 🙄
🏗️ en developpement actif 🚧
Et merci :)
https://jj-vcs.github.io/jj/latest/tutorial/
https://korben.info/jj-jujutsu-version-control-alternative.html
https://steveklabnik.github.io/jujutsu-tutorial/