Skip to content

Commit 6bcf4df

Browse files
update configs
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
1 parent 11f7f8f commit 6bcf4df

File tree

1 file changed

+2
-1
lines changed
  • shell/aliase

1 file changed

+2
-1
lines changed

shell/aliase/git

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ _git_pr4ai() {
9595
local issue_comments=$(gh pr view "$pr" -R "$repo" --json comments --jq '.comments[] | {id, body, author: .author.login, createdAt}')
9696
local review_comments=$(gh api "/repos/$repo/pulls/$pr/comments" --jq '.[] | {id, body, path, line, author: .user.login, createdAt}')
9797

98+
echo "copied to clipboard"
9899
{
99100
echo "=== Diff ==="
100101
echo "$diff"
@@ -104,7 +105,7 @@ _git_pr4ai() {
104105
echo
105106
echo "=== Review Comments ==="
106107
echo "$review_comments"
107-
} | base64 -w 0
108+
} | base64 -w 0 | pbcopy
108109
}
109110

110111
# g.pr4ai kubernetes-sigs/external-dns 6017

0 commit comments

Comments
 (0)