From e81e0d221e84e84a131aa59dc96d56f912a39784 Mon Sep 17 00:00:00 2001 From: Petros Amiridis Date: Sun, 22 May 2011 23:38:43 +0300 Subject: made New Repository a link --- _posts/2008-02-16-create-a-repo.markdown | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to '_posts') diff --git a/_posts/2008-02-16-create-a-repo.markdown b/_posts/2008-02-16-create-a-repo.markdown index 1f43a75..d15501a 100644 --- a/_posts/2008-02-16-create-a-repo.markdown +++ b/_posts/2008-02-16-create-a-repo.markdown @@ -22,14 +22,14 @@ Every time you make a commit with Git, it is stored in a repository (a.k.a. &ldq 1. Create a new repo - Click “New Repository. + Click [New Repository](https://github.com/repositories/new). Click “New Repository - + Fill out the information on this page. When you’re done, click “Create Repository.” - + Fill in the info - + Congratulations! You have successfully created your first repo! ##Next: Create a README for your repo. @@ -62,7 +62,7 @@ While a README isn’t a required part of a GitHub repo, it is a good idea t 2. Commit your README Now that you have your README set up, it“s time to commit it. A commit is essentially a snapshot of all the files in your project at a particular point in time. In the prompt, type the following code: - +

More about commits

@@ -71,14 +71,14 @@ While a README isn’t a required part of a GitHub repo, it is a good idea t

- +
 	$ git add READMEStages your README file, adding it to the list of files to be committed
 	$ git commit -m 'first commit'Commits your files, adding the message "first commit"
 	
- + The code above executes actions locally, meaning you still haven’t done anything on GitHub yet. To connect your local repository to your GitHub account, you will need to set a remote for your repo and push your commits to it: - +

More about remotes

@@ -91,16 +91,16 @@ While a README isn’t a required part of a GitHub repo, it is a good idea t
- +
 	$ git remote add origin git@github.com:username/Hello-World.gitSets the origin for the Hello-World repo
 	$ git push origin masterSends your commit to GitHub
 	
- + Now if you look at your repository on GitHub, you will see your README has been added to it. - + Your README has been created - + ##Lastly: Celebrate Congratulations! You have now created a repository on GitHub, created a README, committed it, and pushed it to GitHub. What do you want to do next? @@ -110,4 +110,4 @@ Congratulations! You have now created a repository on GitHub, created a README,
  • Create A Repository
  • Fork A Repository
  • Be Social
  • - \ No newline at end of file + \ No newline at end of file -- cgit v1.3.1