Skip to content

Commit 558ba7f

Browse files
authored
Fix windows tip appearing in code block
1 parent 1675c3e commit 558ba7f

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

content/get-started/using-git/splitting-a-subfolder-out-into-a-new-repository.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@ If you create a new clone of the repository, you won't lose any of your Git hist
2727
$ cd <em>REPOSITORY-NAME</em>
2828
```
2929
5. To filter out the subfolder from the rest of the files in the repository, run [`git filter-repo`](https://github.com/newren/git-filter-repo), supplying this information:
30-
- `FOLDER-NAME`: The folder within your project where you'd like to create a separate repository.
30+
- `FOLDER-NAME`: The folder within your project where you'd like to create a separate repository.
3131

32-
{% windows %}
32+
{% windows %}
3333

34-
{% tip %}
34+
{% tip %}
3535

36-
**Tip:** Windows users should use `/` to delimit folders.
36+
**Tip:** Windows users should use `/` to delimit folders.
3737

38-
{% endtip %}
38+
{% endtip %}
3939

40-
{% endwindows %}
40+
{% endwindows %}
4141

42-
```shell
43-
$ git filter-repo --path FOLDER-NAME1/ --path FOLDER-NAME2/
44-
# Filter the specified branch in your directory and remove empty commits
45-
> Rewrite 48dc599c80e20527ed902928085e7861e6b3cbe6 (89/89)
46-
> Ref 'refs/heads/<em>BRANCH-NAME</em>' was rewritten
47-
```
42+
```shell
43+
$ git filter-repo --path FOLDER-NAME1/ --path FOLDER-NAME2/
44+
# Filter the specified branch in your directory and remove empty commits
45+
> Rewrite 48dc599c80e20527ed902928085e7861e6b3cbe6 (89/89)
46+
> Ref 'refs/heads/<em>BRANCH-NAME</em>' was rewritten
47+
```
4848
The repository should now only contain the files that were in your subfolder(s).
4949

5050
6. [Create a new repository](/articles/creating-a-new-repository/) on {% data variables.product.product_name %}.

0 commit comments

Comments
 (0)