Code Monkey home page Code Monkey logo

courses's Introduction

LT Courses Code Repository

Source code of projects related to courses taught by LT (also student projects).

In general consider to add projects as git submodules. Submodules appear as folders in the git repository hierarchy (although with a changed icon in github) and refer to other git repositories (which might even be private).

Working with submodules using watson_speechandtext_demo as example:

goal: have remstef/WatsonSpeechTextDemo as a submodule in tudarmstadt-lt/courses/qa-examples/watson_speechandtext_demo

  1. clone tudarmstadt-lt/courses repository

$ git clone https://github.com/tudarmstadt-lt/courses.git courses-lt ```

  1. add submodule

courses-lt/qa-examples$ git submodule add https://github.com/remstef/WatsonSpeechTextDemo.git watson_speechandtext_demo ```

  1. within the submodule folder everything is standard git and refers to the remote repository of the submodule, e.g. git pull, to update the contents from remstef/WatsonSpeechTextDemo or git commit and git push to push edited content to remstef/WatsonSpeechTextDemo.

  2. sync new content from the submodule's repository with the main repository (pull changes, commit updates, push changes)

courses-lt/qa-examples/watson_speechandtext_demo$ git pull courses-lt/qa-examples$ git commit watson_speechandtext_demo -m 'updated submodule' courses-lt/qa-examples$ git push ```

Notes

  • When you clone tudarmstadt-lt/courses, the submodules are not cloned, they appear as empty folders. Run the following commands to pull the content:

$ git submodule init $ git submodule update ```

Alternatively you can add the --recursive switch to the git clone command in order to tell git to checkout also the submodules. $ git clone --recursive https://github.com/tudarmstadt-lt/courses.git courses-lt

  • Find further information on submodules here: https://git-scm.com/book/en/v2/Git-Tools-Submodules
  • In any place of the hierarchy, type git remote -v in order to see the remote path of the current git related commands!
  • For an overview of submodules in check .gitmodules file in the root directory of the repository

courses's People

Contributors

remstef avatar schmoon90 avatar

Stargazers

Yevgeniy avatar

Watchers

Andrei Beliankou avatar  avatar James Cloos avatar Seid Muhie Yimam avatar Alexander Panchenko avatar  avatar  avatar smndf avatar  avatar Martin Riedl avatar  avatar

Forkers

schmoon90

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.