Skip to content

Commit 660ef7f

Browse files
committed
Commit files changed/added in apply-github-patch.
1 parent 7bc757a commit 660ef7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ML-Frameworks/utils/git-utils.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ function apply-github-patch {
6262

6363
# Apply the patch
6464
patch -p1 < "$patch_file"
65+
git add -A
66+
git commit -m "Applied patch $2 from $1."
6567
return 0
6668
}
6769

0 commit comments

Comments
 (0)