Skip to content

Commit

Permalink
updated git_revert_line.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Nov 19, 2024
1 parent 9c5656d commit 39ac2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/git_revert_line.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
usage_description="
Reverts the first line that matches a given regex from the Git head commit's version of the same line number
Useful to revert some changes caused by over zealous sed'ing scripts on where you want to cherry-pick revert a single line change
Useful to revert some changes caused by over zealous sed'ing scripts, where you want to cherry-pick revert a single line change
Only reverts the first matching line for safety in case you do something stupid like passing . and end up losing all uncommitted changes
"
Expand Down

0 comments on commit 39ac2f3

Please sign in to comment.