Git - Github

git

https://github.com/explore/
http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1/
https://readwrite.com/2013/11/18/github-tom-preston-warner/
https://readwrite.com/2013/10/02/github-for-beginners-part-2/
https://www.youtube.com/GitHubGuides
https://www.youtube.com/watch?v=8_mHSdCkv3s
https://dzone.com/articles/kubernetes-needs-to-ditch-github

What are the steps to get started using GitHub.com?

  1. Sign up
  2. Install Git from http://git-scm.com
  3. Launch Git Bash (the program that you just installed)
  4. git config —global user.name "Your Name"
  5. git config —global user.email "Your email address"
  6. If we want to prevent Git from asking us to enter our password on every commit, see https://help.github.com/articles/set-up-git/
  7. Create a repo (a digital directory or storage space where we can store our files). Go to GitHub.com and click on the tiny book icon next to your username or go to the "new repository" page. Select appropriate options and click on the "Create" button. When we are done with this step, take note of the URL for this repository.
  8. Make a local directory: mkdir ~/folderName
  9. cd ~/folderName
  10. git init
  11. touch fileName
  12. git add fileName
  13. git commit -m "Some message"
  14. Link our local repo to the remote repo on GitHub.com that we created above: git remote add origin ssh://github.com/username/myproject.git
  15. git push

In the above steps, for the user.name property, we can use our full legal name, our online handle, or anything. Git does not care. It just needs to know to whom to credit the commits. For the user.email property, make sure it is the same email you used when you signed up for a GitHub.com account.

What can I do with Github page?

If you need a simple website for your project, then use GitHub pages. It’s free and better than cheap $4.99/mo hosting, which can be easily hacked, is slow and requires you to use cPanel. Here’s what you’ll need to get your website up and running using github page:

  1. Create account on GitHub (do it once).
  2. Create a new repository.
  3. Send your developer a link to that repository, and a Twitter Bootstrap theme of your choice (Google it if you don’t know where to get a beatiful theme).
  4. Point your CNAME records in Godaddy, or whatever you’re using, to GitHub IPs (192.30.252.153 and 192.30.252.154).
  5. Merge pull request from you developer on GitHub.com.
  6. Boom! You’ve got your website.

There’s no need for WordPress or PHP. GitHub Pages is free and it is faster than BlueHost. The site must be static only without any PHP, Node.js or any other server-side logic. You can use foxyform or EmailMeForm for contact forms, and Gumroad for sales. For blogs, you can use Wintersmith or Jekyll.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License