Skip to content

Commit 0a44b11

Browse files
committed
Add git-revert-changes-in
1 parent 1cfc4f8 commit 0a44b11

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

git-revert-changes.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
function git-revert-changes-in() {
4+
git checkout $(default_branch) -- $@
5+
}

0 commit comments

Comments
 (0)