Skip to content

regflchang/PD111-1_Lab_Git_Tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PD111-1_Lab

A simple git guide for Programming Design12 students.

In this project, students would learn how to use and why should use git to control and save their projects, especially when working with others. We anticipate that this guide would be helpful when students are working on their group final project, and improve their productivity.

This guide includes a slide and some codes, and since Programming Design is a C++ programming course, we thus design this simple C++ project. The goal is to guide students about how to use simple git command such as add, commit, pull, and push. And they could also learn how to create new branch and pull request to contribute to projects.

In class, each students will be assigned to complete a header file by declaring an integer whose name is the same as the name of the header file and the value is the sum of each character in its name.

Students would first clone this repository, create a new branch of their own, and complete the tasks assigned previously. Next, they should try use git commands to save their changes in GitHub and create pull request to the main branch. Finally, the instructor will then merge all completed tasks and see if the main file could run.

To make this project more entertaining, if the accuracy of students' work in the header files is high enough, a delicious doughnut animation3 will appear, or a sad face, otherwise.

Footnotes

  1. IM1003, a required course for freshmen in the Department of Information Management, National Taiwan University (NTUIM).

  2. This project is designed and created by the TAs: Yu-Hsuan Wu, He-Chien Wu, and Po-Chen Yeh.

  3. For the original source code of Delicious donuts, please see Here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 94.1%
  • C++ 5.9%