SuperITMan links
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
Git - Rerere https://git-scm.com/book/en/v2/Git-Tools-Rerere
Thu Jan 2 22:07:49 2025
QRCode
cluster icon
  • Comment avoir plusieurs profils Git ? | vmaerten's blog : À configurer absolument pour mes projets open source. /!\ configurer un path insensitive !!! [includeIf "gitdir/i:c:/path/subpath/GitHub/"] path = c:/...
  • sourcehut hub : Platform with some nice open source projects! Libre, not like Github 😉
  • WSL2, zsh, and docker. Linux through Windows. - Nicky blogs : Nice tutorial about wsl2, zsh, git, oh-my-zsh
  • Débuter avec git Archives - Carl Chenet's Blog : quelques tutos sympas pour démarrer avec git :-)
  • Tips for hardening your container image security strategy | Snyk :

7.9 Git Tools - Rerere
Rerere

The git rerere functionality is a bit of a hidden feature. The name stands for “reuse recorded resolution” and, as the name implies, it allows you to ask Git to remember how you’ve resolved a hunk conflict so that the next time it sees the same conflict, Git can resolve it for you automatically.

There are a number of scenarios in which this functionality might be really handy. One of the examples that is mentioned in the documentation is when you want to make sure a long-lived topic branch will ultimately merge cleanly, but you don’t want to have a bunch of intermediate merge commits cluttering up your commit history. With rerere enabled, you can attempt the occasional merge, resolve the conflicts, then back out of the merge. If you do this continuously, then the final merge should be easy because rerere can just do everything for you automatically.

git tips
871 links, including 81 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn