Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/builtin/reflog.c # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / builtin / reflog.c` 495 lines ยท 13904 bytes Raw Blame History 1 #define USE_THE_REPOSITORY_VARIABLE 2 3 #include "builtin.h" 4 #include "config.h" 5 #include "gettext.h" 6 #include "hex.h" 7 #include "odb.h" 8 #include "revision.h" 9 #include "reachable.h" 10 #include "wildmatch.h" 11 #include "worktree.h" 12 #include "reflog.h" 13 #include "refs.h" 14 #include "parse-options.h" 15 16 #define BUILTIN_REFLOG_SHOW_USAGE \ 17 N_("git reflog [show] [] []") 18 19 #define BUILTIN_REFLOG_LIST_USAGE \ 20 N_("git reflog list") 21 22 #define BUILTIN_REFLOG_EXISTS_USAGE \ 23 N_("git reflog exists ") 24 25 #define BUILTIN_REFLOG_WRITE_USAGE \ 26 N_("git reflog write ") 27 28 #define BUILTIN_REFLOG_DELETE_USAGE \ 29 N_("git reflog delete [--rewrite] [--updateref]\n" \ 30 " [--dry-run | -n] [--verbose] @{}...") 31 32 #define BUILTIN_REFLOG_DROP_USAGE \ 33 N_("git reflog drop [--all [--single-worktree] | ...]") 34 35 #define BUILTIN_REFLOG_EXPIRE_USAGE \ 36 N_("git reflog expire [--expire=