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
{{ message }}
Repository navigation
Commit 6a7687b
Browse filesBrowse the repository at this point in the historyBrowse files
"Unset value for one or more config options. By default, this command refuses to unset multi-valued keys. Passing --all will unset all multi-valued config options, whereas --value will unset all config options whose values match the given pattern."
28
28
);
29
29
30
-
get->add_option("<name>", m_name, "");
31
-
set->add_option("<name>", m_name, "");
32
-
set->add_option("<value>", m_value, "");
33
-
unset->add_option("<name>", m_name, "");
30
+
get->add_option("<name>", m_name, "Name of the config variable to get, e.g. user.name");
31
+
set->add_option("<name>", m_name, "Name of the config variable to set");
32
+
set->add_option("<value>", m_value, "Value to set the config variable to");
33
+
unset->add_option("<name>", m_name, "Name of the config variable to unset");
auto* stash = app.add_subcommand("stash", "Stash the changes in a dirty working directory away\n");
29
+
auto* stash = app.add_subcommand("stash", "Stash the changes in a dirty working directory away");
30
30
auto* push = stash->add_subcommand(
31
31
"push",
32
-
"Save your local modifications to a new stash entry and roll them back to " + ansi_code::bold
33
-
+ "HEAD " + ansi_code::reset
34
-
+ "(in the working tree and in the index). The <message> part is optional and gives the description along with the stashed state.\n"
32
+
"Save your local modifications to a new stash entry and roll them back to " + ansi_code::bold + "HEAD"
33
+
+ ansi_code::reset
34
+
+ "(in the working tree and in the index). The <message> part is optional and gives the description along with the stashed state."
35
35
);
36
36
auto* list = stash->add_subcommand(
37
37
"list",
38
38
"List the stash entries that you currently have. Each stash entry is listed with its name (e.g. "
39
39
+ ansi_code::bold + "stash@" + ansi_code::reset + "{0} is the latest entry, " + ansi_code::bold
40
40
+ "stash@" + ansi_code::reset
41
-
+ "{1} is the one before, etc.), the name of the branch that was current when the entry was made, and a short description of the commit the entry was based on.\n"
41
+
+ "{1} is the one before, etc.), the name of the branch that was current when the entry was made, and a short description of the commit the entry was based on."
42
42
); // TODO: check if shows all of that
43
43
auto* pop = stash->add_subcommand(
44
44
"pop",
45
45
"Remove a single stashed state from the stash list and apply it on top of the current working tree state, i.e., do the inverse operation of "
0 commit comments