User:Daniel Mietchen/Notebook/Open Science/2011/05/03: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
m (-NOTOC)
Line 46: Line 46:
<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### -->
<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### -->
|}
|}
__NOTOC__

Revision as of 02:52, 5 May 2011

What would science look like if it were open? <html><img src="/images/9/94/Report.png" border="0" /></html> Main project page
<html><img src="/images/c/c3/Resultset_previous.png" border="0" /></html>Previous entry<html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</html>Next entry<html><img src="/images/5/5c/Resultset_next.png" border="0" /></html>

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. <html> <div id="next_step" class="standard_form"> <h2>Global setup:</h2> <pre> Download and install <a target="_blank" href="http://git-scm.com/download">Git</a> git config --global user.name "Your Name" git config --global user.email name@provider.com <a href="https://github.com/account#ssh_bucket">Add your public key</a> </pre> <h2>Next steps:</h2> <pre> 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 </pre> <h2>Existing Git Repo?</h2> <pre> cd existing_git_repo git remote add origin git@github.com:Daniel-Mietchen/Open-Research-Proposals.git git push -u origin master </pre> <h2>Importing a Subversion Repo?</h2> <pre> <a href="https://github.com/Daniel-Mietchen/Open-Research-Proposals/imports/new">Click here</a> </pre> <h2>When you're done:</h2> <pre> <a href="https://github.com/Daniel-Mietchen/Open-Research-Proposals">Continue</a></pre> </div> </html>

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 .