I'm running a cron that involves git as well. I'm attempting to run a git pull then copy and paste the contents into a specific directory. Lets say I have the branch;
refs/remote/origin/branch_where_things_are_updated
I want to copy something specific in the branch to /var/www/html/wordpress/wp-content/themes/overwrite_this_theme_directory
NOTE: .git is located in the wordpress directory
I'm not sure what the paths are suppose to look like as I'm not really familiar with git, nor its terminology; branch, feature, staging, push, pull, master, origin, etc..
Edit: git pull says already up to date, thats fine. But now how to do 'move' the changes that I pulled from the repo to the directory on the server?