Friday, August 1, 2014

Setting up Git Repo on BlueHost Account

This worked on a BlueHost account

I had a local git repo that I wanted to be able to push to a BlueHost account.


ssh git@example.com
mkdir my_project.git
cd my_project.git
git init --bare

cd my_existing_git_project
git remote add origin git@example.com:my_project.git
git push -u origin master

Source(s)

No comments:

Post a Comment