Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 24 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,40 @@ A repo to play with the common git operations in and learn how to get working wi
- Desktop app (optional, very useful for development) https://desktop.github.com/

## Steps to complete for the practice activity
- Get social with github. Setup your account
- Go to https://github.com/elmsln/elmsln and star / watch / fork the repo
- Go to https://github.com/elmsln/haxcms and star / watch / fork the repo
- Go to https://github.com/elmsln/lrnwebcomponents and star / watch / fork the repo
- Go to this repo and star / watch / fork it -- https://github.com/btopro/lab2
- From your copy of the repo, edit the README.md file (this file) and fill out the things below the FILL THIS OUT line
- Use the commit message in order to indicate what you changed
- Then issue a pull request back against this repo
- https://oer.hax.psu.edu/bto108/sites/ist402/labs/git will have the non-messed with directions as we'll screw up this repo to see how version control works during class
- [x] Get social with github. Setup your account
- [x] Go to https://github.com/elmsln/elmsln and star / watch / fork the repo
- [x] Go to https://github.com/elmsln/haxcms and star / watch / fork the repo
- [x] Go to https://github.com/elmsln/lrnwebcomponents and star / watch / fork the repo
- [x] Go to this repo and star / watch / fork it -- https://github.com/btopro/lab2
- [x] From your copy of the repo, edit the README.md file (this file) and fill out the things below the FILL THIS OUT line
- [x] Use the commit message in order to indicate what you changed
- [x] Then issue a pull request back against this repo
- [x] https://oer.hax.psu.edu/bto108/sites/ist402/labs/git will have the non-messed with directions as we'll screw up this repo to see how version control works during class

# FILL THINGS OUT BELOW THIS LINE AND DO IT IN MARKDOWN

## Working definition of Git and what it's done for

> Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.

Long story short, Git is a collaborative platform, somewhat like the Google Doc (not working exactly the same way though), specifically designed for programmers.

> It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files.

## What do you think the top 3 reasons to use GitHub / GitLab are?
1.
2.
3.
1. Collaborate with other programmers within the team
2. Contribute to open source softwares
3. Safe for development as `git` keeps track of all file history

## What is a Pull Request?

Pull Request is a mechanism for you to take part in other people's code, usually a repo that you don't have push privilege to. It allows you to change some line(s) of codes in the repo, having discussion with the owner of the repo, and raising up potential issues etc.

## Links to relevent Github / git tutorials
- [Github](https://github.com/)
- Add a resource link here
- Add another resource link here

- [CS50-Harvard](https://www.youtube.com/watch?v=MJUJ4wbFm_A)
- [Git Official Document](https://git-scm.com/docs/gittutorial)

### Change this image to be something else with different alt data
You can also do images like the one just below here using the !
![Oh Spongebob](https://media.giphy.com/media/3oEjI4sFlp73fvEYgw/giphy.gif).

![IT Crowd](https://media3.giphy.com/media/SZUnyVdIDAEQU/giphy.gif).
48 changes: 40 additions & 8 deletions Reflection.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
# My Reflection / Blog
Use this file to submit your blog post to your github account / repo. In it, include some markdown to practice, especially a link to your video.
*Screencast submission* - [YouTube video by HAXcms core contributor Michael Potter](https://www.youtube.com/watch?v=5aPae031TxM&list=PLJQupiji7J5cGYiOflGYFwXSEoHMoowkP&index=17&t=0s)
Here's a reminder of how you do the link above as code.
```markdown
*Screencast submission* - [YouTube video by HAXcms core contributor Michael Potter](https://www.youtube.com/watch?v=5aPae031TxM&list=PLJQupiji7J5cGYiOflGYFwXSEoHMoowkP&index=17&t=0s)
```

Good luck!

*Screencast submission* - [ZL's Lab2 Video](https://youtu.be/cMdzLb08Q1I)

In this week's lab, we learned about version control, and to be more specific, how to use `git`, including `clone`, `push`, `pull` features, and how to make a *Pull Request*. This is a very useful tool since teamwork is a key element of software development at present and GitHub is the most popular platform where all these collaborations happen.

It is also very interesting to see how Pull Request functions being very handy while a lot of people still don't know. I was trying to figure out such function during my summer internship and GitHub's own documentation on this was not clear at all (at least to me, blah). So I think it's probably a good idea for me to make a video on this as well and hopefully this can help someone who's in need to learn this and couldn't figure out from the documentation.

And for the purpose of practicing `markdown`, refer below for the terminal commands I used in my video:

<pre>
> git clone <i>link to your repository</i>
</pre>

<pre>
> cd <i>directory location of your local repository</i>
</pre>

<pre>
> vim README.md
</pre>

<pre>
> git status
</pre>

<pre>
> git add .
</pre>

<pre>
> git commit -m "<i>commitment message</i>"
</pre>

<pre>
> git push
</pre>

<pre>
> git pull
</pre>