Fix formatting of INCLUDE AND EXCLUDE (REFS)

Fix formatting of the INCLUDE AND EXCLUDE (REFS) reference chart and the results to properly display newlines in Github Markdown
This commit is contained in:
Jordan Santell 2018-10-18 11:25:34 -07:00 committed by GitHub
parent d4a82058d6
commit 5c40be5dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -168,6 +168,7 @@ matching as in .gitattributes.
You can configure Git LFS to only migrate commits reachable by references
include by `--include-ref` and not reachable by `--exclude-ref`.
```
D---E---F
/ \
A---B------C refs/heads/my-feature
@ -175,18 +176,23 @@ include by `--include-ref` and not reachable by `--exclude-ref`.
\ refs/heads/master
\
refs/remotes/origin/master
```
In the above configuration, the following commits are reachable by each ref:
```
refs/heads/master: C, B, A
refs/heads/my-feature: F, E, D, B, A
refs/remote/origin/master: A
```
The following configuration:
```
--include-ref=refs/heads/my-feature
--include-ref=refs/heads/master
--exclude-ref=refs/remotes/origin/master
```
Would, therefore, include commits: F, E, D, C, B, but exclude commit A.