#!/bin/bash cd ap22-d git pull GIT_WORK_TREE=/var/www/html/ git checkout -f