💾
EC
  • Introduction
  • EC Course
    • Syllabus
    • Preparation for EC
    • Tutorial
      • Tutorial: arduino-stm32
        • Tutorial: arduino-stm32 Installation
        • Tutorial: arduino-stm32 Part1
        • Tutorial: arduino-stm32 Part2
      • Tutorial: MDK uVision
        • Tutorial: Installing MDK uVision
        • Tutorial: Create a Project with uVision
        • Tutorial: Adding library header in uVision
        • Tutorial: Re-using Project Configuration
        • Debugging in uVision
      • Tutorial: PlatformIO in CLion
      • Tutorial: PlatformIO in VSCode
      • Tutorial: Repository Management
      • Tutorial: Managing library header files
      • Tutorial: PinName Configuration
      • Tutorial: Bitwise Macro
      • Tutorial: Custom initialization
      • Tutorial: Documentation
      • Tutorial: Creating Application API
      • Tutorial: 7-Segment Display
      • Tutorial: DC motor driver connection
      • Tutorial: USART with TeraTerm
      • Tutorial: Finite State Machine programming
      • Tutorial: Bluetooth
      • Tutorial: Zigbee with Nucleo board
    • LAB
      • LAB Report Template
      • LAB: Smart mini-fan with STM32-duino
      • LAB: Portable Fan with mbed
      • LAB: GPIO Digital InOut
      • LAB: GPIO Digital InOut 7-segment
      • LAB: EXTI & SysTick
      • LAB: Timer & PWM
      • LAB: Stepper Motor
      • LAB: Input Capture - Ultrasonic
      • LAB: USART - LED, Bluetooth
      • LAB: ADC - IR reflective sensor
      • LAB: Line Tracing RC Car
    • Sample code
      • Code Templates
    • Hardware
      • Nucleo-F411RE
      • LAB Hardware
        • Electronic Chips
        • HUINS Embedded Kit
    • Projects
      • Line Tracing Car Project
      • Design Project
        • Past Projects
      • Project Grading Criteria
    • Study Resource for MCU
      • Hexa-Decimal Table
      • Bitwise Op for Register
      • System Clock
      • Timer
      • USART
      • ADC
  • STM32 M4 Programming
    • Documentation
      • C++ API Docs
    • Firmware Library
      • PinName Configuration
      • GPIO Digital
      • RCC
      • EXTI_SysTick
      • TIMER
      • USART
    • Troubleshooting
    • mbed for STM32
      • Tutorial: mbed-Part 1
      • Tutorial: mbed - Part 2
      • Tutorial: mbed - Part 3
      • Using mbed API on uVision
    • mbed OS
  • Other Programming
    • Arduino
    • Socket Programming
      • Window Socket Programming
      • Arduino WiFi
    • Cube-MX
    • Github
    • Markdown
      • Example: API documentation
    • MATLAB
  • C Programming
    • C-Programming Lessons
      • Installing Visual Studio Community
        • Visual Studio Community 2022
      • Installing VS Code(Mac/Linux)
      • Creating Header Lib
      • Pointer
      • Array
      • 2D Array
      • Structure
      • Dynamic Alloc
      • Bitwise Operation
  • Numerical Programming
    • Syllabus
    • Preparation for NP
    • Math Review
    • Tutorial
      • TA Session Video
      • Tutorial: NP Library Header Files
      • Tutorial - Sine Taylor
      • Tutorial: Passing a Function, Function callback
      • Tutorial: Nonlinear solver
      • Tutorial: Differentiation
      • Tutorial: Integration
      • Tutorial: Matrix Structure
      • Tutorial: Eigenvalue problem
      • Tutorial: ODE-IVP
      • Tutorial: Curve Fitting
      • Tutorial: Create Github Repos of NP lib
      • Tutorial: Version Control in Github
      • Tutorial: Documentation with Markdown
      • Exercise: Version Control and Documentation
    • Example: MATLAB
    • Example: NP Library
    • Assignment
      • Assignment Factorial and Power
      • Assignment: Version Control and Documentation
    • Problem Bank
Powered by GitBook
On this page
  • Preparation
  • Part 0. Lecture Assignment/Project Folder
  • Create local directory for Project
  • Part 1. Github Desktop Setup
  • Create Directory for GithubDeskop
  • Part 2. Clone Class' Github repository on local drive
  • Clone repository 'NumericalProg-student'
  • Part 3. Create your Github repository
  • Create new repository : private
  • Clone in Local drive
  • Copy files in Local drive
  • Commit and Publish in Github Server
  • Next

Was this helpful?

  1. Numerical Programming
  2. Tutorial

Tutorial: Create Github Repos of NP lib

PreviousTutorial: Curve FittingNextTutorial: Version Control in Github

Last updated 2 years ago

Was this helpful?

This is a tutorial of how to create a git repository for your lecture project: numerical programming library, EC driver, documentation etc.

Preparation

  1. Create Github account:

  2. Install Github Desktop:

Part 0. Lecture Assignment/Project Folder

Create local directory for Project

We will create the main directory for NP (or EC) programs under

C:\Users\yourID\source\repos

You can search for 'repos' in window menu

This is where your assignment projects should be located.

For Numerical Programming

  • Name the directory as "NumerialProg" or **** "NP".

For Embedded Controller

  • Name the directory as "EC".

Example:

  • C:\Users\yourID\source\repos\NumerialProg

  • C:\Users\yourID\source\repos\NumerialProg\Assignment

  • C:\Users\yourID\source\repos\NumerialProg\Tutorial

Part 1. Github Desktop Setup

We will create the main directory for Github Desktop under ~\source\repos\

****

Create Directory for GithubDeskop

Name the directory as 'GithubDesktop'. This is the root directory where your Github Repository will be located in your local drive.

  • C:\Users\yourID\source\repos\GithubDesktop

Part 2. Clone Class' Github repository on local drive

Clone repository 'NumericalProg-student'

After you login your github account, go to the NP class github site

Then, click Code>Open with Github Desktop

Then, it will launch the Desktop Program.

Clone in Local path : C:\Users\yourID\source\repos\GithubDesktop\NumericalProg-student

After cloning,view your repository in Explorer: Ctrl Shift F

Check all the files are located in the local drive.

Part 3. Create your Github repository

Create new repository : private

The repository should be PRIVATE to limit your source code access

For Numerical Programming(2021-2~)

  • Name the repository as "NumericalProg".

For Embedded Controller

  • Name the repository as "EmbedController".

For Numerical Method(~2021-1)

  • Name the repository as "tutorialNM.

Clone in Local drive

When you open the local repository in Explorer, It will be a blank directory.

Copy files in Local drive

Copy all folder and file from 'NumericalProg-student' to your repository in Explorer.

Commit and Publish in Github Server

On the Github desktop, you will see all the changes in repository. We will push these changes to the github server .

Write a comment " added files" then Press Commit to main

Then, Publish branch .

Go to your repository website Ctrl Shift G and check all the files are updated.

Next

Tutorial: Creating Library Documentation with Markdown(md)

https://ykkim.gitbook.io/dlip/programming/github
https://ykkim.gitbook.io/dlip/programming/github/gitbook-desktop
GitHub - ykkimhgu/NumericalProg-studentGitHub
Logo