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

From OpenWetWare
Jump to navigationJump to search
(GitHub)
Line 18: Line 18:
mkdir Open-Research-Proposals   
mkdir Open-Research-Proposals   
cd Open-Research-Proposals   
cd Open-Research-Proposals   
git init  touch README   
git init   
git add README  git commit -m 'first commit'   
touch README   
git add README   
git commit -m 'first commit'   
git remote add origin git@github.com:Daniel-Mietchen/Open-Research-Proposals.git   
git remote add origin git@github.com:Daniel-Mietchen/Open-Research-Proposals.git   
git push -u origin master      </pre>      <h2>Existing Git Repo?</h2>       
git push -u origin master      </pre>      <h2>Existing Git Repo?</h2>       

Revision as of 14:55, 3 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>