Giter Site home page Giter Site logo

git_and_cli's Introduction

Introduction to git and the command line

This course takes elements from the software carpentries The Unix Shell and Version Control with Git. The aim is to provide learners with enough skills to be able to navigate the command line and use git to provide version control on files.

Schedule

  1. (09:30) - Introducing the Shell
    • What is a command shell and why would I use one?
  2. (09:35) - Navigating Files and Directories
    • How can I move around on my computer?
    • How can I see what files and directories I have?
    • How can I specify the location of a file or directory on my computer?
  3. (10:15) - Working With Files and Directories
    • How can I create, copy, and delete files and directories?
    • How can I edit files?
  4. (11.05) - Pipes and Filters
    • How can I combine existing commands to do new things?
  5. (11.40) - Automated Version Control
    • What is version control and why should I use it?
  6. (11.45) - Setting Up Git
    • How do I get set up to use Git?
  7. (11.50) - Creating a Repository
    • Where does Git store information?
  8. (12.00) - Lunch
  9. (12.30) - Tracking Changes
    • How do I record changes in Git?
    • How do I check the status of my version control repository?
    • How do I record notes about what changes I made and why?
  10. (12.50) - Exploring History
    • How can I identify old versions of files?
    • How do I review my changes?
    • How can I recover old versions of files?
  11. (13.15) - Ignoring Things
    • How can I tell Git to ignore files I don’t want to track?
  12. (13.20) - Remotes in GitHub
    • How do I share my changes with others on the web?
  13. (14.15) - Collaborating
    • How can I use version control to collaborate with other people?
  14. (14.45) - Conflicts
    • What do I do when my changes conflict with someone else’s?
  15. (15.00) - End

git_and_cli's People

Contributors

longr avatar

Watchers

 avatar

git_and_cli's Issues

Comments on the programme

Hey @longr,

I think the programme looks good, though is a bit 20% CLI and 80% Git. I wonder if there are a few useful things missed out from the CLI part. Off the top of my head:

  1. Bash history searching -- use of UP/DOWN and Ctrl-R/S as ways to move about more quickly;
  2. File/folder permissions;
  3. Compression with zip, tar, gzip, etc.;
  4. Environment variables, e.g. USER, SHELL, etc., together with .bashrc and .bash_profile (both useful things to know for working with Anaconda and/or poetry).
  5. How about executing commands within Bash strings? A very useful case is:
$ tar czvf my_important_folder archive_`date +%F`.tar.gz

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.