• kth.se
  • Student web
  • Intranet
  • kth.se
  • Student web
  • Intranet
Login
BB1000 VT23 (20034)
Version control
Skip to content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • Min översikt
  • BB1000 VT23 (20034)
  • Assignments
  • Version control
  • Home
  • Syllabus
  • Modules
  • Assignments
  • Course Evaluation

Version control

  • Due 26 Apr 2023 by 19:00
  • Points 1
  • Submitting a website url

The purpose of this lab is to setup and get acquainted with the KTH github server and a common workflow associated with projects on github.

Consider the following scenario: you have contributions to make to an open-source project. It now contains a history of the example script from the first lecture. You may see it in the browser at the link 

https://gits-15.sys.kth.se/BB1000/git-2023-04-19

 

On git hosting sites such as github, gitlab, bitbucket you have two address forms for a repository

  • http: https://gits-15.sys.kth.se/BB1000/git-2023-04-19
  • ssh: git@gits-15.sys.kth.se:BB1000/git-2023-04-19

 On the KTH git server you can use the first form for browsing, but to download/upload content you have to use the second form, therefore you have to learn about ssh and install ssh-keys

 

Installation

* Creating and uploading an ssh key to the students KTH github: see instructions.

 

Assignment

* Open a webbrowser at the KTH github and create a fork in the web interface

* On your local machine: clone your fork, it will by default have the label origin

* Navigate to the project folder on the command line with "cd git-2023-04-19"

* Create and checkout a local branch with a name "devel"

* Include a line in the booklist.txt file with a book recommendation

* When done push the changes to your fork

* Make a pull request in the web interface

 

For more details consider lecture material or e.g. Github standard pull and request workflow

Links to an external site.

 

1682528400 04/26/2023 07:00pm
Please include a description
Additional comments:
Rating max score to > Pts
Please include a rating title

Rubric

Find rubric
Please include a title
Find a rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a learning outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 Pts Full marks blank
0 to >0 Pts No marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional comments
This criterion is linked to a learning outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 Pts Full marks blank
0 to >0 Pts No marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional comments
Total points: 5 out of 5