Merge pull request #563 from ShudarsanRegmi/main

fix: correct misplaced Markdown formatting in Git notes
This commit is contained in:
Fechin authored and GitHub committed 2024-06-24 09:39:31 +08:00
commit 8d6bc1d68f
2 files changed
+19 -17

No files matched your search

+3 -3
View File
@@ -360,9 +360,9 @@ A `.gitignore` file specifies intentionally untracked files that Git should igno
$ git push origin -u <new_name>
```
- #### **Delete** remote branch
```shell script
$ git push origin --delete <old>
```
```shell script
$ git push origin --delete <old>
```
{.marker-timeline}
### Log
+16 -14
View File
@@ -64,21 +64,23 @@ This is a quick cheat sheet to getting started with regular expressions.
| `a*+` | Possessive quantifier |
### Common Metacharacters
| Pattern | Description |
| -------- | :----------------------------------------- |
| `^` | Matches the start of a string. |
| `{` | Starts a quantifier for the number of occurrences. |
| `+` | Matches one or more of the preceding element. |
| `<` | Not a standard regex meta character (commonly used in HTML). |
| `[` | Starts a character class. |
| `*` | Matches zero or more of the preceding element. |
| `)` | Ends a capturing group. |
| `>` | Not a standard regex meta character (commonly used in HTML). |
| `.` | Matches any character except a newline. |
| `(` | Starts a capturing group. |
| `|` | Acts as a logical OR within a regex pattern. |
| `$` | Matches the end of a string. |
| `\` | Escapes a meta character, giving it literal meaning. |
| `?` | Matches zero or one of the preceding element. |
- \^
- \{
- \+
- \<
- \[
- \*
- \)
- \>
- \.
- \(
- \|
- \$
- \\
- \?
{.cols-3 .marker-none}