180 likes | 374 Views
GitHub 101 Tutorial. Setting up and Navigating GitHub.com. Tutorial Session - Web Experience Toolkit CodeFest 2014 August 14 & 15 2014 Justin Longo – PostDoc in Open Governance Center for Policy Informatics, Arizona State University slides etc. available at http://jlphd.wordpress.com
E N D
GitHub 101 Tutorial Setting up and Navigating GitHub.com Tutorial Session - Web Experience Toolkit CodeFest 2014 August 14 & 15 2014 Justin Longo – PostDoc in Open Governance Center for Policy Informatics, Arizona State University slides etc. available at http://jlphd.wordpress.com Twitter: #GitHub101 @whitehallpolicy
Learning Objectives • Set up a new account on GitHub.com • Follow other Users • Watch and Star Projects • Join Organizations • Create your first project
Create a New GitHub Account Go to http://github.com <-- Pick a unique username (no spaces), enter your email address and enter a password of your choosing (http://passwordsgenerator.net/ ). <-- Click on “Sign up for GitHub”.
Create a New GitHub Account Go to After you click on “Sign up for GitHub, this screen will appear: <-- Select the “Free” account. <-- Do not select “Help me set up an organization next”. <-- Click on “Finish sign up”.
Create a New GitHub Account You’ll see this screen. We’ll start with “Tell us about yourself” <https://github.com/account> to complete our user profile.
Create a New GitHub Account • Complete your user account set-up: • At any time, you can click on the wrench/screwdriver icon in the top right corner next to your name to open your user settings: • verify an email address (verified emails can be kept private), • fill in your profile info, • upload a photo from your hard drive, • check your notification settings.
Your New GitHub Profile When you’re done and back at the main page, click on your name at the top right corner of the page and you’ll be taken to your brand new profile page:
Your New GitHub Profile When you’re done and back at the main page, click on your name at the top right corner of the page and you’ll be taken to your brand new profile page:
Follow other users • Find users using the search box. • Once you are on a user’s page, click the "follow" button.
Watch or Star a Project • Search for a project page (e.g., the Web Experience Toolkit - https://github.com/wet-boew/wet-boew) • Click on the "watch" button at the top of the page. "Watch” means you will be closely following a project - you'll see all of that project's commits in your timeline. • You can also “Star” a project to bookmark it. Activity from starred repositories does not show up in your dashboard feed.
Join an Organization • Organizations: help with the management of group-owned repositories, facilitate permissions. • Only “public” members are displayed (controlled by the user). • Only an organization administrator can add a user to the organization. • No onboard mechanism to request being added to an organization. • If there is no email address for the organization, options include: sending an email to a prominent organization member; make contributions and hope to be noticed; ask around your real org.
Create Your First Repo • On your profile page, in the top-right corner, select the + icon and click on “New repository” to get to this page: • choose a “Repository name”. • write a short description (“My first repo!” works) • mark the repo as “Public” (you can only make it private by upgrading to a paid account). • mark the check-box “Initialize this repository with a README” • “.gitignore” = None • <-- Licence = CC0 1.0 Universal (Creative Commons). • <-- Click on “Create Repository”.
Create Your First Repo • Congratulations - you just created your first repo!
Exercises for Later • Complete your profile page. • Search for colleagues and other interesting GitHub users (like the person sitting beside you) and “Follow” them. • Search for projects and “Watch” or “Star” them. • Send a request to join an organization. • Edit your first repo. • Fly around GitHub.
Tutorial Notes • Slides, project posts, my contact info:http://jlphd.wordpress.com • Online Tutorial: http://nextpolicychallenge.github.io/tutorial.html • GitHub Glossary (GitHub version): https://github.com/NextPolicyChallenge/NextPolicyChallenge.github.io/blob/master/glossary.md • See also #CodeFest2014 Session “Introduction to GitHub for Developers” by Jeremy Sivaneswaran: http://wet-boew.github.io/codefest/sessions-en.html#jeremys-session-title