Skip to content

Instantly share code, notes, and snippets.

@collinalexbell
Last active December 1, 2019 14:31
Show Gist options
  • Save collinalexbell/e2caf4d332aa331c70f1bbe03fe58a15 to your computer and use it in GitHub Desktop.
Save collinalexbell/e2caf4d332aa331c70f1bbe03fe58a15 to your computer and use it in GitHub Desktop.
This is an example of piping some command output into a commit message.
echo "\"$(date)\"" | xargs git commit -m
#or
git commit -m "$(data)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment