Skip to content

Commit

Permalink
Reorganize sections in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Feb 20, 2020
1 parent c32f3cd commit cd516e0
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,25 +113,6 @@ If the base directory is a git repository you can use the `-F` switch to force t
$ git standup -m 3
```

### Directory whitelisting

If you want to restrict the standup to some paths, you can whitelist them by adding them to a `.git-standup-whitelist` file. For example if you have the below directory structure

├── Workspace # All your projects are here
│ ├── project-a # Some git repository called project-a
│ ├── project-b # Some git repository called project-b
│ ├── sketch-files # Some sketch files
│ ├── mockups # Some balsamiq mockups
│ └── ... # etc.
└── ...

And you want the `git-standup` to show logs for only `project-a` and `project-b`, you can do that by creating a `.git-standup-whitelist` file under the `Workspace` directory with the below contents and it will only consider these directories for the standup

```
project-a
project-b
```

## Checking someone else's commits

If you want to find out someone else's commits do
Expand Down Expand Up @@ -221,6 +202,25 @@ Use of `-b foobar` option, which restricts returned results to commits present o
git standup -b develop
```

### Directory whitelisting

If you want to restrict the standup to some paths, you can whitelist them by adding them to a `.git-standup-whitelist` file. For example if you have the below directory structure

├── Workspace # All your projects are here
│ ├── project-a # Some git repository called project-a
│ ├── project-b # Some git repository called project-b
│ ├── sketch-files # Some sketch files
│ ├── mockups # Some balsamiq mockups
│ └── ... # etc.
└── ...

And you want the `git-standup` to show logs for only `project-a` and `project-b`, you can do that by creating a `.git-standup-whitelist` file under the `Workspace` directory with the below contents and it will only consider these directories for the standup

```
project-a
project-b
```

## Changing the Weekdays

By default, it considers that the work week starts on Monday and ends on Friday. So if you are running this on any day between Tuesday and Friday, it will show you your commits from the last day. However, if you are running this on Monday, it will show you all your commits since Friday.
Expand Down

0 comments on commit cd516e0

Please sign in to comment.