Create a .afignore
file in the root directory. There you can specify the files or directories you want to ignore while running update command.
Example:
# ignore run.py
run.py
# ignore dot files
.*
# ignore assets directory
assets/
# ignore static directory
static/
Once you are done specifying the files, run af update appname
You can find the documentation here : https://docs.appfog.com/getting-started/af-cli/afignore