Push your project to Git

Posted: September 11, 2013 in Knowledge Base
Tags: , ,

I was using bitbucket, which allows private usage for free.

In Git Bash window

  1. cd /to/the/project/dir
  2. git init
  3. git remote add origin ssh://git@bitbucket.org/yourusername/yourproject.git
  4. git add .
  5. git status
  6. git commit -m “your message here”
  7. git push origin master

To set up SSH for Git, you can refer to the below document.


To update existing git project

  1. cd /to/the/project/dir
  2. git status
  3. git add .
  4. git commit -m “your message”
  5. git push origin master

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s