Skip to content

Instantly share code, notes, and snippets.

@craigbeck
Created November 29, 2012 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigbeck/4166088 to your computer and use it in GitHub Desktop.
Save craigbeck/4166088 to your computer and use it in GitHub Desktop.
creating empty git commits
This is how you create empty commit (it won't have any file changes, but still has message, who, when &c.) I think this can be used to start empty pull requests.
git commit -m "what?" --allow-empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment