From 791418b9f6dded1cba2b12fe7d091ea547bd9fd8 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Fri, 25 Dec 2015 00:26:06 -0600 Subject: [PATCH] Add List Most Git Commands as a git til. --- README.md | 1 + git/list-most-git-commands.md | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 git/list-most-git-commands.md diff --git a/README.md b/README.md index 82e48b6..6a595ee 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Intent To Add](git/intent-to-add.md) - [Last Commit A File Appeared In](git/last-commit-a-file-appeared-in.md) - [List Filenames Without The Diffs](git/list-filenames-without-the-diffs.md) +- [List Most Git Commands](git/list-most-git-commands.md) - [List Untracked Files](git/list-untracked-files.md) - [Move The Latest Commit To A New Branch](git/move-the-latest-commit-to-a-new-branch.md) - [Reference A Commit Via Commit Message Pattern Matching](git/reference-a-commit-via-commit-message-pattern-matching.md) diff --git a/git/list-most-git-commands.md b/git/list-most-git-commands.md new file mode 100644 index 0000000..a22f112 --- /dev/null +++ b/git/list-most-git-commands.md @@ -0,0 +1,9 @@ +# List Most Git Commands + +You can list most git commands by using the `-a` flag with `git-help`: + +``` +$ git help -a +``` + +[Source](http://stackoverflow.com/questions/7866353/git-list-all-available-commands)