Coder Social home page Coder Social logo

gcapes / git-course Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 47.0 6.57 MB

Version control training course using Git

Home Page: http://gcapes.github.io/git-course/

License: Other

HTML 31.08% CSS 11.23% Makefile 2.18% Ruby 0.27% SCSS 4.07% JavaScript 0.69% R 3.36% Shell 1.27% Python 45.85%
carpentry-lesson git

git-course's People

Contributors

abbycabs avatar alanocallaghan avatar apawlik avatar brownsarahm avatar dependabot[bot] avatar erinbecker avatar evanwill avatar fmichonneau avatar gcapes avatar gvwilson avatar joaorodrigues avatar josephmje avatar jsta avatar katrinleinweber avatar mawds avatar maxim-belkin avatar mr-c avatar neon-ninja avatar orchid00 avatar pbanaszkiewicz avatar raynamharris avatar rgaiacs avatar synesthesiam avatar tkphd avatar tobyhodges avatar tracykteal avatar twitwi avatar unode avatar wclose avatar zkamvar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-course's Issues

Extend detached head exercise

Commit on a detached head, then checkout a new branch to save the changes.
We have already abandoned the changes in the worked examples of the lesson, so let's save the commits this time in a new branch.

Merge conflict needs changes on both branches

Example doesn't produce a merge conflict, and that is the intention.
Re-test lesson to make sure examples work. I think there is one step missing somewhere i.e. without telling you what changes to make.

Test git for windows

See what the default editor is in git bash, if you can set gedit, test for potential problems

Set gedit as default editor

Nano seems to be confusing for those not used to the command line. No need for this extra cognitive load.

Add advice for PRs

Like

  • one issue per PR
  • one branch per issue
  • read and follow contributing
  • maybe submit issue to discuss first
  • the role of rebase when making edits

Use faded examples for the harder exercises

The bio exercise comes a little while after the set-up stage, so maybe asking learners to remember to initialise the repository is asking too much.
A faded example showing what steps need to be done would reduce the cognitive load, while still solidifying the understanding by typing the commands again.

unintroduced use of HEAD~

In episode 3, line 233, HEAD~ is used to get the parent commit. I don't think this has been introduced at this point, so might be clearer to use the absolute commit id?

Notice how HEAD and master point to the same commit. Now checkout a previous commit again, and look at the graph again. We can display, this time specifying that we want to look at --all the history, rather than just up to the current commit.

$ git checkout HEAD~
$ git log --graph --decorate --oneline --all

Broken link in episode 7

The link to the different types of git reset on line 227 is broken.

[This article](http://git-scm.com/2011/07/11/reset.html) discusses more in
depth `git reset` showing the differences between the three options:

* `--soft`
* `--mixed`
* `--hard`

Add colour to terminal output

This is done by default on my computers, but not on G11 cluster. Required command is:
git config --global --add color.ui true

Add checklist for trainer

Check that:

  • software is installed
  • editors are installed - choose kate for G11 so font size can be changed (gedit doesn't have this)
  • terminal is clear on projector (large font, coloured output from ls and git log)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.