Skip to content

Instantly share code, notes, and snippets.

@horaciod
Created June 17, 2021 11:57
Show Gist options
  • Select an option

  • Save horaciod/93e3465b0abaa556b06226cb2311b379 to your computer and use it in GitHub Desktop.

Select an option

Save horaciod/93e3465b0abaa556b06226cb2311b379 to your computer and use it in GitHub Desktop.
backup de cambios de un repositorio git sin hacer commit
#!/bin/bash
tar czvf $1 `git diff --name-only`
@horaciod

Copy link
Copy Markdown
Author

Genera un tar.gz con solo los archivos modificados en un repositorio git (antes de commit y stash)

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