Skip to content

Commit 054c853

Browse files
authored
Merge pull request Tikam02#138 from obviyus/patch-1
Escape `|` char in formatting
2 parents c9f42d4 + 9a0e39c commit 054c853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI-CD/git/git-advanced-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
| `git revert HEAD~1` | Create a new commit undoing the last commit's changes. |
2323
| `git reflog` | List all the git actions that were executed before. Useful to find a lost commit, then you can try to recover it. |
2424
| `git bisect start` | Useful to find the buggy commit (that possible introduces some bug). After this, you use `git bisect [good|bad]` indicating when the suggested commit is in a `good` or `bad` state. When the issue is found, use `git bisect reset` to reset back to the original state before using the git bisect command.|
25-
| `git branch --merged | egrep -v "(*|master|dev)" | xargs git branch -d` | Delete already merged branches but `master` and `dev` in this example.
25+
| ```git branch --merged \| egrep -v "(*\|master\|dev)" \| xargs git branch -d``` | Delete already merged branches but `master` and `dev` in this example.
2626
| `git clean -df` | Remove untracked files and directories from the working tree. Add `n` to the flags to list all files that would be removed. |

0 commit comments

Comments
 (0)