-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(commit): handle Github Revert commits
- Loading branch information
Andreas Richter
committed
Jul 31, 2020
1 parent
11665ca
commit e32cffe
Showing
8 changed files
with
130 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
git init | ||
|
||
echo "console.log('do stuff');" > index.js | ||
git add index.js | ||
git commit -m "fix: Do stuff | ||
something | ||
BREAKING CHANGE: | ||
Ups something broke :D | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
git init | ||
|
||
echo "console.log('do stuff');" > merge.js | ||
git add merge.js | ||
git commit -m 'Merge pull request #119 from theowner/some/branch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
git init | ||
|
||
echo "console.log('do stuff');" > revert-multi-line.js | ||
git add revert-multi-line.js | ||
git commit -m 'Revert "throw an error if a callback is passed" | ||
This reverts commit 9bb4d6c.' | ||
|
||
echo "console.log('do stuff');" > revert.js | ||
git add revert.js | ||
git commit -m 'Revert "Fix: remove peek baseURL"' | ||
|
||
echo "console.log('do stuff');" > index.js | ||
git add index.js | ||
git commit -m 'revert: this' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters