Created
January 30, 2019 19:34
-
-
Save Mrngilles/07af8c605ae96d1b78674504b6e90fbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@commit | |
def creating_commit(commit_message): | |
if action is "Creating post": | |
tag = "Post" | |
elif action is "Updating post": | |
tag = "Update" | |
elif action is "Changing configuration": | |
tag = "Config" | |
elif action is "Updating theme": | |
tag = "Theme" | |
stage(files) | |
commit(msg=" ".join(tag, commit_message)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment