Skip to content

Instantly share code, notes, and snippets.

@razbakov
Created August 6, 2014 15:18
Show Gist options
  • Save razbakov/4c95f6082369e8989e82 to your computer and use it in GitHub Desktop.
Save razbakov/4c95f6082369e8989e82 to your computer and use it in GitHub Desktop.
How to upload files to live without jenkins?

Run git log and look for commit hash:

9045d8fcbd3ebfb186e6b3b6d96732357ee5c315

To see which files where changed in this commit:

git diff --name-only 9045d8fcbd3ebfb186e6b3b6d96732357ee5c315

Create zip files with changed files:

zip files.zip $(git diff --name-only 9045d8fcbd3ebfb186e6b3b6d96732357ee5c315)

Upload zip to live and unpack it.

@razbakov
Copy link
Author

razbakov commented Aug 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment