Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

FREN
  • Articles
  • Categories
    • AI / LLM
    • Docker
    • Git
    • PHP
    • SQL
    • WordPress
  • About
FREN
insigne de navire dans une bouée de sauvetage

Bjankuloski06, CC BY 4.0

Git

Git: recover deleted files

August 17, 2026June 1, 2016 by Jean-Pierre Lambelet

To recover deleted files automatically without specifying the path

git ls-files -d | xargs git checkout --
Categories Git
Search for a file per name in the terminal
Git know which files will be changed before git pull

About

Jean-Pierre Lambelet is a Swiss software engineer focused on LLMs. This blog collects tips and tutorials on generative AI and RAG chatbots, PHP and Symfony, PostgreSQL and Docker.

Recent Posts

  • An LLM crawler that said “ok” for 12 days and extracted nothing
  • Docker – pgvector – Run PostgreSQL with pgvector in Docker Compose
  • PostgreSQL – pgvector – Keep the ivfflat index when you give results a weight
  • Stopping a RAG chatbot from presenting stale information as current
  • Giving a chatbot live weather through LLM tool calling
  • FR
  • EN

Recent Posts

  • An LLM crawler that said “ok” for 12 days and extracted nothing
  • Docker – pgvector – Run PostgreSQL with pgvector in Docker Compose
  • PostgreSQL – pgvector – Keep the ivfflat index when you give results a weight
© 2026 Jean-Pierre Lambelet • RSS feed • Privacy Policy • Ads fund this blog,