Difference between revisions of "DPS909/OSD600 Winter 2019 Lab 2"

From CDOT Wiki
Jump to: navigation, search
Line 95: Line 95:
|Priyanka Dhiman
|stash and revert

Revision as of 13:04, 1 February 2019

Expand your Knowledge of Git

Due Date

Friday Feb 1.


  • Install and set-up git
  • Research 2 git commands you don't know, blog about how to use them
  • Add your Name and URLs to the table at the end of this lab

Setup Git and GitHub

We'll use git and GitHub throughout this course to contribute to open source projects. You'll need to get both properly setup, installed and configured. Follow the instructions from the Week 3 notes to get your name, email, editor, line endings, etc. setup for git.

Pick 2 New Git Commands

No matter if you're brand new to git, or been using it for years, there are commands you don't know. Git is a complex tool, which can be used in many different ways.

Research two git commands you've never used, or want to learn:

  • find the official docs for the commands
  • which flags, sub-commands, or other options are available? What do they do? When would you use them?
  • find some example pages, blogs, etc. that show examples of how to use these commands
  • see if you can find any YouTube videos or other non-print resources on the commands

Write a Technical Blog Post on your chosen git Commands

Technical blog posts are meant to inform, educate, and serve as a learning resource for developers. Write a technical blog post about your chosen git commands. Include links to the docs and other resources you found above. Also, include some short examples to teach someone how to use these commands.

See Jess Frazelle's recent post on using Unix Pipes as a good example of a technical post.


Name Git Commands Blog Post (URL)
Andrew Koung stash and cherry-pick https://andrewkoung.wordpress.com/2019/01/25/lab-2/
Woosle Park log and diff https://woosleparkdpd909.wordpress.com/2019/01/25/lab-2-git-commands/
Brandon Wissmann tag and show https://medium.com/@brandonjwissmann/using-tags-with-git-to-organize-your-commits-ce68775cbc5a
Vladimir Rozin fetch and tag https://codingmoments1618.blogspot.com/2019/01/mastering-git.html
Nathaniel Ngo reset and merge https://medium.com/@ngonathaniel/reset-and-merge-caf956bf3d88
Jatin Kumar log and remote https://jatinkumar.home.blog/2019/01/29/git-commands-that-can-come-in-handy/
Yuansheng Lu merge and branch https://luysh0420.wordpress.com/2019/01/29/lab-2-git-commands/
Olena Vyshnevska reset and checkout https://olenavyshnevska.blogspot.com/2019/01/reset-and-checkout-git-commands.html
Jacob Adach reset and revert https://jadach1201231188.wordpress.com/2019/01/31/git-reset-and-git-revert/
Alexei Bonilla clone and init https://abonilla1.blogspot.com/2019/01/bons-blog-3-github.html
Xiaowei Huang stash and rm https://violethxw.wordpress.com/2019/01/31/lab-2/
Al Vincent Valdez blame and merge https://alvinvaldez656226608.wordpress.com/2019/02/01/git-blame-git-merge/
Oleksandr Tkach branch and grep https://tkacholeksandr.home.blog/2019/02/01/lab-2-git-commands/
Priyam Brahmbhatt diff and log https://release01.blogspot.com/2019/02/git-commands.html
Priyanka Dhiman stash and revert https://medium.com/@priyankacodes/stash-and-revert-two-powerful-git-commands-8b817ab2dedc