Replies: 1 comment
-
I found that i can add this to my script at the end, which is enough for me. Must be run with # Some script
...
# Save Diff
# Get a list of changed files
files=$(git diff --name-only)
# Loop over the files
for file in $files
do
# Run git diff on each file
mkdir -p $(dirname ../$REPOSITORY/$file)
git diff $file > ../$REPOSITORY/$file.diff
done
# Also run consolidated git diff
git diff > ../$REPOSITORY/diff.diff |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure how to test out the script i'm developing with multi-gitter.
How can i inspect the code of each repo using dry-run?
I don't want to create prs before i know the script is making sane changes.
I would like some way to go into the cloned repos and open them up and check that my script is doing what its supposed to do. If i use
--clone-dir ./tmp
it doesnt do anything, i think because it removes the folders after the script is done.Beta Was this translation helpful? Give feedback.
All reactions