You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// "Ignored files:\n (use \"git add -f <file>...\" to include in what will be committed)"
35
-
const std::string notstagged_header = "Changes not staged for commit:\n";
36
-
// "Changes not staged for commit:\n (use \"git add%s <file>...\" to update what will be committed)\n (use \"git checkout -- <file>...\" to discard changes in working directory)"
37
-
const std::string nothingtocommit_message = "No changes added to commit";
38
-
// "No changes added to commit (use \"git add\" and/or \"git commit -a\")"
31
+
// (use \"git restore --staged <file>...\" to unstage)\n
32
+
// (use \"git reset HEAD <file>...\" to unstage)\n";
33
+
const std::string ignored_header = "Ignored files:\n Ignored files:\n (use \"git add -f <file>...\" to include in what will be committed)\n";
34
+
const std::string notstagged_header = "Changes not staged for commit:\n (use \"git add <file>...\" to update what will be committed)\n";
35
+
// (use \"git restore <file>...\" to discard changes in working directory)\n
36
+
// (use \"git checkout -- <file>...\" to discard changes in working directory)\n"
37
+
const std::string nothingtocommit_msg = "No changes added to commit (use \"git add\" and/or \"git commit -a\")";
38
+
const std::string uptodate_msg = "Nothing to commit, working tree clean.";
39
+
const std::string nothingtocommit_untrackedfiles_msg = "Nothing added to commit but untracked files present (use \"git add\" to track)";
40
+
// no changes added to commit (use "git add" and/or "git commit -a")
0 commit comments