~sircmpwn/public-inbox

git-rebase-io: Update the output of git status v1 PROPOSED

Davide Masserut: 1
 Update the output of git status

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/10554/mbox | git am -3
Learn more about email & git

[PATCH git-rebase-io] Update the output of git status Export this patch

Recent versions of git suggest to run git restore -- <file> instead of
git checkout -- <file>
---
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 237fff6..1c5b286 100644
--- a/index.html
+++ b/index.html
@@ -464,7 +464,7 @@ You are currently splitting a commit while rebasing branch 'master' on 'c785f47'

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
  (use "git restore -- <file>..." to discard changes in working directory)

  <span style="color: red">modified:   main.c</span>

--
2.26.2
View this thread in the archives