Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

parkerqi #136

Closed
21 tasks done
parkerqi opened this issue Nov 10, 2019 · 0 comments
Closed
21 tasks done

parkerqi #136

parkerqi opened this issue Nov 10, 2019 · 0 comments

Comments

@parkerqi
Copy link

parkerqi commented Nov 10, 2019

Week 7: Git/GitHub Exercises

Welcome to week 7 of software training! This week, you'll be completing a series of git and GitHub exercises to get used to using git and the terminal. To get started, type your GT username into the Title box above, then click the "Submit new issue" at the bottom of this page! From there, work through the rest of this checklist.

If you need any help, we recommend these online resources:

You can, of course, also flag down an instructor if you run into anything.

Your objectives

Replace gburdell3 with your GT username anywhere it appears in this list.

  • 1. Star this repository.
  • 2. Create a fork of this repository.
  • 3. Clone your fork to your computer.
  • 4. Set your forked repository as a remote named origin.
  • 5. Set our repository as a remote named rj.
  • 6. Create a branch named your GT username (ex. gburdell3).
  • 7. Use the terminal to create a folder called "Students" in years/2019
  • 8. Use the terminal to create an empty text file named gburdell3.txt in the years/2019/Students folder.
  • 9. Stage and commit the file (make sure you leave good commit messages!)
  • 10. Create a new branch from gburdell3 named gburdell3-add-text.
  • 11. Add some ASCII art to your file (no longer than 30 lines, no more than 80 characters per line) on that branch and merge it into the gburdell3 branch. Use spaces, not tabs, for indentation in your art, as tabs may distort your image in jr.
  • 12. Create two branches named b1 and b2.
  • 13. Commit a file called stuff1.txt in b1.
  • 14. Commit a file called stuff2.txt in b2.
  • 15. Take the changes from b1 and apply them to b2. (hint: merge)
  • 16. In b2, delete both files and commit the changes.
  • 17. Merge b2 into b1.
  • 18. Merge b1 into gburdell3 (this should not cause a merge conflict).
  • 19. Send your committed changes to the gburdell3 branch on your fork
  • 20. Create a pull request from your fork’s gburdell3 branch to our master branch and ask one of the instructors in your session to approve it (if you try to merge it you won’t be able to because permissions). In your pull request description, add a line that says "Fixes #xx" where #xx is the number of the issue you created. This will auto-close your issue once your pull request is merged.
  • 21. After your PR has been approved, delete all local branches except for master and gburdell3.
@parkerqi parkerqi changed the title parker parkerqi Nov 10, 2019
@parkerqi parkerqi mentioned this issue Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant