# at source - archive all changes - including new files
git status -s | awk {'print $2'} | COPYFILE_DISABLE=1 tar --exclude tar_file.tar -cvf tar_file.tar -T -
# at destination - update the files
tar -xvf tar_file.tar
Created
July 1, 2021 10:07
-
-
Save gabihodoroaga/16909d12291f85c75da6f71efaeca5b0 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment