From a73f1f4b24958c93136f79e2b05996d9c57f244d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 28 Oct 2016 22:00:22 +0200 Subject: [PATCH] Update README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07a25b8..6059687 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,9 @@ Wrapper around git to display status of a whole tree of directories to detect un ```bash # git-recurse-status --help Usage of git-recurse-status: - -f, --filter stringSlice Attributes to filter for (AND combined) + -f, --filter stringSlice Attributes to filter for --format string Output format (default "[{{.U}}{{.A}}{{.M}}{{.R}}{{.D}}{{.S}} {{.State}}] {{.Path}} ({{if .Remote}}{{.Remote}} ยป {{end}}{{.Branch}})") + --or Switch combining of filters from AND to OR -s, --search string String to search for in output --version Prints current version and exits ``` @@ -31,13 +32,15 @@ Possible filters: - `behind` - Remote has new commits (remote repository is not automatically fetched!) - `uptodate` - No known changes against remote - By local changes: - - `unknown` - There are files not yet known to git + - `untracked` - There are files not yet known to git - `added` - Local files are added to the index but not yet committed - `modified` - Local files are modified but not added to the index - `removed` - Local files were removed but not yet deleted from the index - `deleted` - Files are marked to be removed in the index - `stashed` - You have changes in the stash - `changed` - Shortcut for all local changes at once +- Other filters + - `remote` - Repositories having a remote named "origin" set All filters mentioned above are extendable with the prefix `no-` to negate them (example: `no-changes`).