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

nice to have, just sharing - cannot pull with rebase: You have unstaged changes

From
Jason Pyeron <jpyeron@pdinc.us>
Date
Sep 19, 2021, 20:26 UTC
Message-ID
<375601d7ad94$9eccb5a0$dc6620e0$@pdinc.us>
It would be nice if it did the fetch to discover the Current branch master is up to date before failing with You have unstaged changes.
If someone does it, send me a bill for a nice dinner - bounty offered. I wish I had more time.

$ git pull -r error: cannot pull with rebase: You have unstaged changes. error: please commit or stash them.

$ git stash Saved working directory and index state WIP on master: 2134bc6 corrected acronym: ACCIDENT: Assessment, Compliance, Correlation, and Incident response for the DoD ENTerprise

$ git pull -r Current branch master is up to date.

$ git stash pop
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)
--
Jason Pyeron  | Architect
PD Inc        | Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason.j.pyeron.ctr@mail.mil
.com: jpyeron@pdinc.us
tel : 202-741-9397
Next: Carlo Arenas
Message 1 of 2 in “nice to have, just sharing - cannot pull with rebase: You have unstaged changes”
  1. Jason PyeronSep 19, 2021
  2. Carlo ArenasSep 20, 2021

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.