{"version":"2.1.333","anchor":"steward-refuses-with-named-reason-codes-and-gives-actionabl","canonical_anchor":"steward-refuses-with-named-reason-codes-and-gives-actionabl","heading":"\/steward explains why it refuses and what git setup to fix","tier":"notice","area":"Steward","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/steward-refuses-with-named-reason-codes-and-gives-actionabl","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### `\/steward` explains why it refuses and what git setup to fix\n\nThe `\/steward` git watch now gives each refusal a named reason and a message saying what to run, and refuses unsafe git settings\n\n**What**\n\nThe git watch behind `\/steward` used to give one general message when a branch was not on a remote: run `git push -u` to push it. It now gives each refusal a short reason code alongside a specific message, for example:\n\n- `no_remote`: the checkout has no remote, with advice such as `git remote add origin ADDRESS`\n\n- `not_pushed`\n\n- `which_remote`\n\n- `git_setting`\n\n- `shallow`\n\n- `old_git`\n\nIt can also work out where to push by using git's configured push destination. A new check refuses when git settings make things unsafe or unworkable, such as certificate checks being switched off (`http.sslVerify`, or `GIT_SSL_NO_VERIFY` in the environment), SSH host-key checks being off, or the repository being a partial clone.\n\n**Why**\n\nIf you use `\/steward`, especially with a remote that is not GitHub, refusals are now clearer about what went wrong and what to do, but they are also stricter.\n\n- Area: Steward\n- Names: `\/steward`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}