Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • General tips
  • About
  • EN
    • FR
    • EN
MacBook avec code sur un bureau

Photo de Christopher Gower sur Unsplash

Git know which files will be changed before git pull

April 29, 2026July 15, 2016 by Jean-Pierre Lambelet

To know which files are going to be modified, you have to start by fetching the branches

fetch git

then to see the files

git log -p HEAD.. origin

and the differences (three dots, not two)

git diff HEAD... origin
Categories Git
Git: recover deleted files
PHP – NGINX: How to pass the PHP_AUTH_USER and PHP_AUTH_PW variables

À propos

Jean-Pierre Lambelet est un développeur web suisse. Ce blog rassemble ses astuces et tutoriels sur PHP, Symfony, Drupal, Docker et l'outillage de développement front-end.

Recent Posts

  • Stopping a RAG chatbot from presenting stale information as current
  • Giving a chatbot live weather through LLM tool calling
  • RAG explained to my mum
  • A Chrome extension to find unanswered WhatsApp chats
  • LLM – System prompt – Prevent contact hallucination with a registry
  • FR
  • EN

Recent Posts

  • Stopping a RAG chatbot from presenting stale information as current
  • Giving a chatbot live weather through LLM tool calling
  • RAG explained to my mum
© 2026 Jean-Pierre Lambelet • RSS feed • Privacy Policy