git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Usability issue: "Your branch is up to date"

From
Manuel Quiñones <manuel.por.aca@gmail.com>
Date
Feb 3, 2025, 16:45 UTC
Message-ID
<CAPpV+OaMcViVKok5U0-4HaYyPMKEA7BBzw4t113uAaMndjs5Cg@mail.gmail.com>

Hi, I've been teaching Git to a group of young learners lately. They find it odd that commands like `git status` or `git switch main` say "Your branch is up to date with 'origin/main'" even when there are changes that can be fetched from the remote. My proposal: Add the timestamp of the last fetch to the message. For example:

``` $ git switch main Switched to branch 'main' Your branch is up to date with 'origin/main'. Last check was 2 hours ago. ```

It looks like the timestamp of file `.git/FETCH_HEAD` would be enough to implement it.

-- 
.. manuq ..
Next: Junio C Hamano
Message 1 of 14 in “Usability issue: "Your branch is up to date"”
  1. Manuel QuiñonesFeb 3, 2025
  2. Junio C HamanoFeb 3, 2025
  3. Junio C HamanoFeb 4, 2025
  4. Bram van OosterhoutFeb 4, 2025
  5. D. Ben KnobleFeb 4, 2025
  6. Manuel QuiñonesFeb 4, 2025
  7. Bram van OosterhoutFeb 5, 2025
  8. Manuel QuiñonesFeb 4, 2025
  9. Junio C HamanoFeb 4, 2025
  10. Patrick SteinhardtFeb 5, 2025
  11. Junio C HamanoFeb 5, 2025
  12. Patrick SteinhardtFeb 6, 2025
  13. Karthik NayakFeb 7, 2025
  14. Fwd: Usability issue: "Your branch is up to date"Bram van Oosterhout, Feb 4, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.