code & chips

general programming stuff…

Archive for the ‘Git’ Category

Pushing code to Github on Max OS X

leave a comment »

I realise – after the event – that I will not remember these commands so I am logging them here for me in the future.

This will be revised as I discover and remember all the commands.

  1. Open a ‘Terminal’ window
  2. Navigate to source folder
  3. git init
  4. git add .
  5. git commit -m “log message”
  6. git push origin master

Now I need to remember how I set up my Mac to be configured to connect to the correct repository in GitHub.

Written by Kam

April 17, 2010 at 4:01 pm

Posted in Git, IDE Options

Follow

Get every new post delivered to your Inbox.