↧
Pattern Matching Hyphen-Minus Sign in Bash
I was trying to use the sed command to perform some changes to a text and stepped into an interesting “problem”; pattern matching the minus-hyphen (-) symbol. Assume we have the following text:...
View Articlegit: How to revert a file to a specific commit
This entry is part 7 of 7 in the series git: useful HOWTOs git checkout COMMIT_HASH file/to/revert Will bring the file/to/revert file to the state in COMMIT_HASH commit.
View Article