Procházet zdrojové kódy

git-verify-commit: add page

CleanMachine1 před 3 roky
rodič
revize
884aec6231
1 změnil soubory, kde provedl 17 přidání a 0 odebrání
  1. 17 0
      pages/common/git-verify-commit.md

+ 17 - 0
pages/common/git-verify-commit.md

@@ -0,0 +1,17 @@
+# git verify-commit
+
+> Check for GPG verification of commits.
+> If GPG verification isn't present, nothing will be returned, even if extra options are chosen.
+> More information <https://git-scm.com/docs/git-verify-commit>.
+
+- Check git commits for a GPG signature:
+
+`git verify-commit {{commit SHA hash}}`
+
+- Check git commits for a GPG signature and show details of specified commit:
+
+`git verify-commit {{commit SHA hash}} -v`
+
+- Check git commits for a GPG signature and give RAW details:
+
+`git verify-commit {{commit SHA hash}} --raw`