User:Daniel Mietchen/Notebook/Open Science/2011/05/03

{| width="800"
 * style="background-color: #EEE"|[[Image:owwnotebook_icon.png|128px]] What would science look like if it were open?
 * style="background-color: #F2F2F2" align="center"|  |Main project page
 * style="background-color: #F2F2F2" align="center"|  |Main project page


 * colspan="2"|
 * colspan="2"|

First steps on GitHub
Right after starting a new repository at https://github.com/Daniel-Mietchen/Open-Research-Proposals, I got the following screen, whose instructions I followed.             Global setup: Download and install Git git config --global user.name "Your Name" git config --global user.email name@provider.com Add your public key             Next steps: mkdir Open-Research-Proposals cd Open-Research-Proposals git init touch README git add README git commit -m 'first commit' git remote add origin git@github.com:Daniel-Mietchen/Open-Research-Proposals.git git push -u origin master           Existing Git Repo? cd existing_git_repo git remote add origin git@github.com:Daniel-Mietchen/Open-Research-Proposals.git git push -u origin master           Importing a Subversion Repo? Click here           When you're done: Continue

Adding an additional file
The sequence git add git-test-file.txt git commit -m "test file" git-test-file.txt git pull git push resulted in https://github.com/Daniel-Mietchen/Open-Research-Proposals/blob/master/git-test-file.txt.


 * }