This file contains hidden or 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
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { |
This file contains hidden or 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
#!/bin/bash | |
# Basic script to update a git repository without any history or excess data in .git. | |
# Parses the url from .git/config, downloads latest version, and purges everything in .git/ except the config file. | |
# Limitations: | |
# * Only works with the master branch. | |
# * Doesn't account for local virtual environments. | |
# * Doesn't allow for maintaining a stash of changes. | |
if [ -f $FILE ]; then | |
# parse the url from the config file |