Search This Blog

Sunday, April 7, 2013

Howto add a file to api-challenge repository

The full summary of all posts for API Rackspace challenge can be found here:
Rackspace api-challenge summary

Adding my first file to the api-challenge repo 

Before we start coding our first program let's checkout the api-challenge repository we created.
 
cd C:\Users\rado4752\Desktop\docs\development\_mycoding\api-challenge
git clone git@github.com:rtomaszewski/api-challenge.git

As soon as you create a file you are working on you can add it to track changes.
 
git add challange1.py
git commit -m 'init'
git push origin master

After you have completed some of your work and would like to upload a new version of the file to the master repository.
 
git commit -m 'changed output' .\challange1.py
git pull origin master
git push origin master

References
  1. http://rtomaszewski.blogspot.co.uk/search/label/github
  2. http://rtomaszewski.blogspot.co.uk/search/label/git


No comments:

Post a Comment