{"thread":{"id":"56539","subject":"nice to have, just sharing - cannot pull with rebase: You have unstaged changes","startedAt":"2021-09-19T20:41:03Z","lastAt":"2021-09-20T16:28:50Z","messageCount":2,"participants":["Jason Pyeron","Carlo Arenas"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"436384","messageId":"375601d7ad94$9eccb5a0$dc6620e0$@pdinc.us","threadId":"56539","inReplyTo":null,"subject":"nice to have, just sharing - cannot pull with rebase: You have unstaged changes","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2021-09-19T20:26:25Z","receivedAt":"2021-09-19T20:41:03Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"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.\n\nIf someone does it, send me a bill for a nice dinner - bounty offered. I wish I had more time.\n\n$ git pull -r\nerror: cannot pull with rebase: You have unstaged changes.\nerror: please commit or stash them.\n\n$ git stash\nSaved working directory and index state WIP on master: 2134bc6 corrected acronym: ACCIDENT: Assessment, Compliance, Correlation, and Incident response for the DoD ENTerprise\n\n$ git pull -r\nCurrent branch master is up to date.\n\n$ git stash pop\nOn branch master\nYour branch is ahead of 'origin/master' by 1 commit.\n  (use \"git push\" to publish your local commits)\n\n--\nJason Pyeron  | Architect\nPD Inc        | Certified SBA 8(a)\n10 w 24th St  | Certified SBA HUBZone\nBaltimore, MD | CAGE Code: 1WVR6\n \n.mil: jason.j.pyeron.ctr@mail.mil\n.com: jpyeron@pdinc.us\ntel : 202-741-9397\n\n\n\n"},{"id":"436438","messageId":"CAPUEsph-n0EEK_HjJoynKvq1H8Uijq9FZsVNmkp7v9LU9WLDNQ@mail.gmail.com","threadId":"56539","inReplyTo":"375601d7ad94$9eccb5a0$dc6620e0$@pdinc.us","subject":"Re: nice to have, just sharing - cannot pull with rebase: You have unstaged changes","fromName":"Carlo Arenas","fromEmail":"carenas@gmail.com","sentAt":"2021-09-20T16:28:37Z","receivedAt":"2021-09-20T16:28:50Z","isPatch":false,"sender":{"key":"carenas@gmail.com","avatar":"https://avatars.githubusercontent.com/u/76036?v=4"},"body":"$ git config --global rebase.autostash\n\nwill probably help you already without extra code IMHO\n\nCarlo\n"}]}