I am running a Mac using OSX Yosemite v10.10.5.
I want to push my local git repo to my remote using AppleScript.
So the git code would be:shell
git init git add README.md git commit -m "first commit" git remote add origin https://github.com/myusername/my-project.git git push -u origin master
But in order to run this from the terminal, first I need to
cd into my local directory.