I want get latest changed files of my repository.
to do it:
I have run this command to get latest Commit ID:
git log --format="%H" -n 1 and then I paste output to this command:
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT "PREV_COMMAND_OUTPUT" | xargs tar -rf changedFiles.tar Now, how I can merge These commands and pass output if first output as argument of second command?
thanks