Github is a web service that does version control so that various programmers can work on the same code and still keep up to date as changes are being made.
- Every civic tech organization I’m aware of does have a GitHub account, or at least some of its members are registered. - See more at: http://datadrivenjournalism.net/featured_projects/github_experiment_mapping_the_civic_tech_community#sthash.FzUzBm9P.dpuf
Are there any resources that would help learners complete this XP?
- Enter Resource Title
- Repeat if desired.
Describe the evidence a learner must submit to complete this XP.
Set the Interest, Age, Participation, and Duration of your XP.
- Age Appropriateness
- LRNG LVL
- Estimated Duration
- Read about Github on Wikipedia, Wikipedia:Github.
- Get your own account on Github with a username and log in. http://www.Github.com
- Save your new username and password in your safe.
- Post your new username onto your wiki home page. Do not post the password.
- Take the tour on Github.
- Watch the following five videos:
- Review these terms on this wiki and make sure you understand them.
- Write a harmless letter and put it into your Github directory.
- Use another computer to go get that document. Make a change. Save the changes.
- Peek at 5 resumes on Github.
- Explore 5 projects on Github including:
- Write a simple LiveCode project and upload it to Github.
- Get a LiveCode project from Github from another person.
- Take the Hello World tutorial on Github, 10-minutes
Hello World on GitHubEdit
- The Hello World project is a time-honored tradition in computer programming. It is a simple exercise that gets you started in 10 to 30 minutes.
GitHub is a code hosting platform for version control and collaboration. GitHub is a popular way to create and review code letting people work together on projects from anywhere. No coding is necessary. To complete this tutorial, you need a GitHub.com account and Internet access. You don’t need to know how to code, use the command line, or install Git (the version control software GitHub is built on).
Learn how to:Edit
- Create and use a repository.
- Start and manage a new branch.
- Make changes to a file and push them to GitHub as commits.
- Open and merge a pull request.
This EXP tutorial teaches GitHub essentials like repositories, branches, commits, and pull requests. You’ll create your own Hello World repository and learn GitHub’s pull request workflow, .
Step 1. Create a RepositoryEdit
Step 2. Create a BranchEdit
Branching is the way to work on different versions of a repository at one time.
By default your repository has one branch named master which is considered to be the definitive branch. We use branches to experiment and make edits before committing them to master.
When you create a branch off the master branch, you’re making a copy, or snapshot, of master as it was at that point in time. If someone else made changes to the master branch while you were working on your branch, you could pull in those updates.
Step 3. Make and commit changesEdit
On GitHub, saved changes are called commits. Each commit has an associated commit message, which is a description explaining why a particular change was made. Commit messages capture the history of your changes, so other contributors can understand what you’ve done and why.
Step 4. Open a Pull RequestEdit
Pull Requests are the heart of collaboration on GitHub. When you open a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch. Pull requests show diffs, or differences, of the content from both branches. The changes, additions, and subtractions are shown in green and red.
As soon as you make a commit, you can open a pull request and start a discussion, even before the code is finished.
By using GitHub’s @mention system in your pull request message, you can ask for feedback from specific people or teams, whether they’re down the hall or 10 time zones away.
You can even open pull requests in your own repository and merge them yourself. It’s a great way to learn the GitHub Flow before working on larger projects.
Step 5. Merge your Pull RequestEdit
Bring your changes together – merging your readme-edits branch into the master branch.
Here’s what you accomplish in this tutorial:Edit
- Created an open source repository
- Started and managed a new branch
- Changed a file and committed those changes to GitHub
- Opened and merged a Pull Request
- Take a look at your GitHub profile and you’ll see your new contribution squares!