Does git return specific return error codes?

前端 未结 6 513
醉梦人生
醉梦人生 2020-12-13 22:52

Like merging errors, or rebase errors. Does it have a unique error code?

6条回答
  •  误落风尘
    2020-12-13 23:38

    git push --delete origin a_remote_tag_name

    This returns 256 if the tag doesn't exist using git version 1.8.3.1

    It would be nice to have a consolidated list of specific return codes returned by each command and what they indicate. This might also help prevent changing the return code meanings (which automation scripts might rely on).

提交回复
热议问题