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

RE: [help] git status doesn't seem to work.

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Dec 5, 2024, 20:02 UTC
Message-ID
<048801db4750$97831e70$c6895b50$@nexbridge.com>
In-Reply-To
<n8KYxrArhb3MywPvDHVmEz0dka8QYYWikLDZE_aboUX9GBgF2X9uomuxtrPA6VmS33TxXyltJB4xqjALIuprVvE12prKd_ZW4MYM9kC4Qds=@proton.me>
On December 5, 2024 2:53 PM, A bughunter wrote:
Show 22 quoted lines
>[help] git status doesn't seem to work. See how a pull caused updates after status
>showed "up to date"
>
>```
>~/Peeranoia_Framework $ git status
>On branch main
>Your branch is up to date with 'origin/main'.
>
>nothing to commit, working tree clean
>~/Peeranoia_Framework $ git pull
>Enter passphrase for key '/data/data/com.termux/files/home/.ssh/id_ed25519':
>remote: Enumerating objects: 17, done.
>remote: Counting objects: 100% (17/17), done.
>remote: Compressing objects: 100% (15/15), done.
>remote: Total 15 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0) Unpacking
>objects: 100% (15/15), 6.41 KiB | 312.00 KiB/s, done.
>>From github.com:freedom-foundation"up to date"/Peeranoia_Framework
>   03edf66..4cf4f51  main       -> origin/main
>Updating 03edf66..4cf4f51
>Fast-forward
> README.md | 24 +++++++++++++++++++++---
> 1 file changed, 21 insertions(+), 3 deletions(-) ~/Peeranoia_Framework $ git status

This is exactly what git pull is supposed to do. The operation does not leave files in an uncommitted state, so the message

>On branch main Your branch is up to date with 'origin/main'.
>nothing to commit, working tree clean
is 100% correct before and after the pull in your example.
Previous: A bughunterNext: Jeff King
Message 2 of 4 in “[help] git status doesn't seem to work.”
  1. A bughunterDec 5, 2024
  2. rsbecker@nexbridge.comDec 5, 2024
  3. Jeff KingDec 5, 2024
  4. A bughunterDec 5, 2024

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.