Difference between revisions of "Computers II"

From TSAS Library
Jump to: navigation, search
Line 10: Line 10:
*'''Commit hash''' is a unique identifier for each commit action. This allows you to share previous versions and control your changes.<ref>[https://www.youtube.com/watch?v=BCQHnlnPusY Introduction - Git and GitHub for Poets]</ref>
*'''Commit hash''' is a unique identifier for each commit action. This allows you to share previous versions and control your changes.<ref>[https://www.youtube.com/watch?v=BCQHnlnPusY Introduction - Git and GitHub for Poets]</ref>
*'''Branch''' a version of your repository. You may have ''several'' branches in each project, edited by many people, or to keep track of attempted alterations to your main, '''Master''', branch. Create a new branch at the commit action, or by selecting the branch in dropdown. (See a cool visualization of these changes by clicking the "Graphs" tab on your main page, then choosing "Network"!)
*'''Branch''' a version of your repository. You may have ''several'' branches in each project, edited by many people, or to keep track of attempted alterations to your main, '''Master''', branch. Create a new branch at the commit action, or by selecting the branch in dropdown. (See a cool visualization of these changes by clicking the "Graphs" tab on your main page, then choosing "Network"!)
*'''Merge''' combine the main files in the master branch with those in another branch. This allows you to choose whether or not to apply the changes suggested by others, or to apply the attempted alterations you made in a branch.
*'''Merge''' combine the main files in the master branch with those in another branch. This allows you to choose whether or not to apply the changes suggested by others, or to apply the attempted alterations you made in a branch.<ref>[https://www.youtube.com/watch?v=oPpnCh7InLY Branches - Git and GitHub for Poets]</ref>
<ref>[https://www.youtube.com/watch?v=oPpnCh7InLY Branches - Git and GitHub for Poets]</ref>
*'''Fork''' allows you to copy an ''entire'' repo, either your own or another's, into your account. This includes the history, as well.
*'''Fork''' allows you to copy an ''entire'' repo, either your own or another's, into your account. This includes the history, as well.
*'''Pull request''' is the action of asking the owner of a repo to "pull" your branch into the main repository on their account.
*'''Pull request''' is the action of asking the owner of a repo to "pull" your branch into the main repository on their account.<ref>[https://www.youtube.com/watch?v=_NrSWLQsDL4 Forks and Pull Requests - Git and GitHub for Poets]</ref>
<ref>[https://www.youtube.com/watch?v=_NrSWLQsDL4 Forks and Pull Requests - Git and GitHub for Poets]</ref>


==References==
==References==
<references />
<references />

Revision as of 19:29, 14 November 2016

Class GitHub organization. Class syllabus (woefully incomplete). Gradebook.

Current Projects

Some things to know about Git:

  • Repository (or "repo") is a folder or directory containing all of the files within a project.
  • Commit is the action of adding a new file, or applying changes to the files, within a repo.
  • History shows the changes made to the repo by each commit. Note that you can go back to a previous version to undo your changes with this!
  • Commit hash is a unique identifier for each commit action. This allows you to share previous versions and control your changes.[1]
  • Branch a version of your repository. You may have several branches in each project, edited by many people, or to keep track of attempted alterations to your main, Master, branch. Create a new branch at the commit action, or by selecting the branch in dropdown. (See a cool visualization of these changes by clicking the "Graphs" tab on your main page, then choosing "Network"!)
  • Merge combine the main files in the master branch with those in another branch. This allows you to choose whether or not to apply the changes suggested by others, or to apply the attempted alterations you made in a branch.[2]
  • Fork allows you to copy an entire repo, either your own or another's, into your account. This includes the history, as well.
  • Pull request is the action of asking the owner of a repo to "pull" your branch into the main repository on their account.[3]

References