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:
parent
d4a82058d6
commit
5c40be5dbb
@ -168,6 +168,7 @@ matching as in .gitattributes.
|
|||||||
You can configure Git LFS to only migrate commits reachable by references
|
You can configure Git LFS to only migrate commits reachable by references
|
||||||
include by `--include-ref` and not reachable by `--exclude-ref`.
|
include by `--include-ref` and not reachable by `--exclude-ref`.
|
||||||
|
|
||||||
|
```
|
||||||
D---E---F
|
D---E---F
|
||||||
/ \
|
/ \
|
||||||
A---B------C refs/heads/my-feature
|
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/heads/master
|
||||||
\
|
\
|
||||||
refs/remotes/origin/master
|
refs/remotes/origin/master
|
||||||
|
```
|
||||||
|
|
||||||
In the above configuration, the following commits are reachable by each ref:
|
In the above configuration, the following commits are reachable by each ref:
|
||||||
|
|
||||||
|
```
|
||||||
refs/heads/master: C, B, A
|
refs/heads/master: C, B, A
|
||||||
refs/heads/my-feature: F, E, D, B, A
|
refs/heads/my-feature: F, E, D, B, A
|
||||||
refs/remote/origin/master: A
|
refs/remote/origin/master: A
|
||||||
|
```
|
||||||
|
|
||||||
The following configuration:
|
The following configuration:
|
||||||
|
|
||||||
|
```
|
||||||
--include-ref=refs/heads/my-feature
|
--include-ref=refs/heads/my-feature
|
||||||
--include-ref=refs/heads/master
|
--include-ref=refs/heads/master
|
||||||
--exclude-ref=refs/remotes/origin/master
|
--exclude-ref=refs/remotes/origin/master
|
||||||
|
```
|
||||||
|
|
||||||
Would, therefore, include commits: F, E, D, C, B, but exclude commit A.
|
Would, therefore, include commits: F, E, D, C, B, but exclude commit A.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user