Skip to content

stuyvesant-cs/KAP-00-Story-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Story time

A place to show you know how to commit and have git configured at home and also in the lab.

Note on Commits

Make sure all of your commit messsage reflect what step you are doing. "Added stuff" is not sufficient.

Directions

The goal is to learn the edit/add/commit/push workflow and realize it isn't that bad after some practice.

  1. Clone the repo.
  2. Edit the "story.txt" file in the lab. Push those changes. Do this 3 times so there are 3 commits in the lab. You can fill in words and add new lines.
  3. Now test your java fu, write a hello world program from scratch; do not copy/paste it. Name the file Hello.java, create a class called Hello, and write a main method that prints "Hello World, XXX" to the terminal, where XXX is a fun fact about yourself (that is not longer than 1 line).
  4. Complete steps 5-12 at home on your personal device.
  5. On your personal device clone the repo.
  6. Make an addition to the story.txt file on the git website. There should be this one commit from the web interface, but no more.
  7. Pull those changes onto your personal device.
  8. Make more changes on your personal device and push them to github. Do this 2 times so there are 2 more commits (6 total commits you made)
  9. All of the "madlibs" style placeholders should be replaced when you are done.
  10. Copy your "Tester.java" from the summer assignment to the repository.
  11. Use the command "git status" to see what happens with new files, you will notice it says that Tester.java is not being tracked.
  12. Add/commit/Push the tester. This case is an example of when a simple commit message is sufficient.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published