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)