The Wayback Machine - https://web.archive.org/web/20200322183938/https://github.com/github/training-kit
Skip to content
Open source cheat sheets for Git and GitHub
HTML CSS Ruby Shell
Branch: master
Clone or download

Latest commit

4 authors More GitHub content (#741)
* begin git guides

* include git workflow text

* finish draft for git-overview

* borrow content from git overview for commit page

* begin commit page

* draft of git commit

* add content for installing git

* prune down metadata

* rework first sentence around git commits

* move info about how commits work into proper section

* more detail about why its bad to change history

* add git log to list of commands

* add related commands to git commit

* fix italics

* turn bullets into section headers

* add 4 new page outlines

* draft of git add content

* draft for git clone

* add git remote -v term to git overview

* draft of git pull guide

* start git remote page

* draft of git init

* fix typo in installation

* remove metadata for git init

* refine git init

* refine git add

* tidy git clone

* refine git pull

* more exact language around pull force

* Add installation notes for windows

* Update installation notes for GH Desktop

* Update installation notes for macOS

* Update installation notes for Linux

* update git add page with more detail in steps and shell example

* move add shell to under when do you use

* add git clone shell example

* add shell example of commit

* add shell example to git init

* add shell example of git pull

* remove the git remote page

* add the git remote page

* add empty push and status pages

* add content for git remote and git push

* add git status draft

* Update git-status.md

* Add git pull best practice note to push

* Remove note about commit structure

Although important, this seemed out-of-place for this guide. It makes more sense to include this in git add or git commit. Feel free to revert if viewed differently

* Update git-guides/git-push.md

Co-Authored-By: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>

* Update git-guides/git-remote.md

Co-Authored-By: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>

* Update git-guides/git-remote.md

Co-Authored-By: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>

* Update git-guides/git-status.md

Co-Authored-By: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>

* Update git-guides/git-status.md

Co-Authored-By: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>

* fill in details for push options

* update fork image

Co-authored-by: Dylan Stark <dylanastark@gmail.com>
Co-authored-by: a-a-ron <a-a-ron@github.com>
Co-authored-by: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>
Latest commit 3f86fdb Mar 19, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix an indent Oct 3, 2019
_includes Chore: use https (#722) Jan 13, 2020
_layouts remove unused content Mar 4, 2019
_pages update to ghd beta Oct 28, 2016
assets remove unused content Mar 4, 2019
downloads zh-cn: improve grammar and add translation (#736) Mar 3, 2020
git-guides More GitHub content (#741) Mar 19, 2020
node_modules Add Primer, package.json Aug 21, 2017
script bring back script/package (#731) Feb 4, 2020
.gitignore add vendor files to .gitignore Mar 1, 2019
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md Oct 26, 2019
CONTRIBUTING.md CONTRIBUTING: update 'Building and testing' instructions (#726) Jan 28, 2020
Gemfile Update Gemfile Mar 7, 2019
Gemfile.lock Bump nokogiri from 1.10.7 to 1.10.8 Feb 25, 2020
LICENSE adding license to training-kit ported from on-demand Nov 18, 2016
README.md Update README.md (#740) Mar 9, 2020
Rakefile Add html-proofer tests to Rakefile Mar 7, 2019
_config.yml fix footer links Mar 4, 2019
index.html add link to the translated resource Jan 11, 2020
package-lock.json commit package-lock.json (#732) Feb 4, 2020
package.json Add Primer, package.json Aug 21, 2017
redirects-cheatsheets.md handle redirects Mar 4, 2019
redirects.md handle redirects Mar 4, 2019

README.md

Build Status

GitHub Training Kit: Cheatsheets

We ❤️ Contributors Like You!

We’re eager to work with you, our user community, to improve these materials and develop new ones. Please check out our CONTRIBUTING guide for more information on getting started.

Looking for a resource that was once housed in training-kit?

This repository currently contains the Git and GitHub Cheatsheets. If you're looking for a project that used to be housed here, such as On-Demand training, reading lists, videos, and book recommendations, see this commit in the repository's history.

Projects Used in Training-Kit

Packaging for Viewing Behind Your Firewall

If you'd like to have a copy of the files to be served from a web server inside of your firewall, start by running script/package.

  1. Run script/package to create a release tarball. This will be in the format release-XXXXXXX.tgz for you to take wherever you want.
  2. To test this looks okay, create some folders mkdir -p test_site/kit.
  3. Untar the release, tar -xzf release-XXXXXXX.tgz -C test_site/kit.
  4. Switch into the test_site directory, cd test_site.
  5. View the site:
    • For python version 2.x, run: python -m SimpleHTTPServer
    • For python version 3.x, run: python -m http.server
    • Note: Some servers are more advanced than others and can handle redirects, smart recognition of .html files, etc

Site content is licensed under CC-BY-4.0. CC-BY-4.0 gives you permission to use the content for almost any purpose but does not grant you any trademark permissions, so long as you note the license and give credit, such as follows:

Content based on github.github.com/training-kit/ used under the CC-BY-4.0 license.

Code used to build and test the site as well as code samples on the site, if any, are licensed under CC0-1.0. CC0 waives all copyright restrictions but does not grant you any trademark permissions.

This means you can use the content and code in this repository except for GitHub trademarks in your projects.

When you contribute to this repository you are doing so under the above licenses.

You can’t perform that action at this time.