git_introduction
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| git_introduction [2018/11/15 15:44] – [git status] tell | git_introduction [2018/11/16 16:47] (current) – ilena | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| Before doing anything, sign up with github (create a username and password, and find the Eastbots organization: | Before doing anything, sign up with github (create a username and password, and find the Eastbots organization: | ||
| + | |||
| Once you have a github account, Amr, Steve, or Ilena can add you to the Eastbots organization in github. | Once you have a github account, Amr, Steve, or Ilena can add you to the Eastbots organization in github. | ||
| Line 11: | Line 12: | ||
| If you're using linux, git should be available easily with the software package manager in your linux system. | If you're using linux, git should be available easily with the software package manager in your linux system. | ||
| - | We found a good windows download here https:// | + | We found a good windows download here https:// |
| ====== Git basics, Steve' | ====== Git basics, Steve' | ||
| Line 31: | Line 32: | ||
| Unless you only did your clone seconds ago, someone else on the team may have submitted changes since you cloned. | Unless you only did your clone seconds ago, someone else on the team may have submitted changes since you cloned. | ||
| + | |||
| + | ===== aside: your first edit ===== | ||
| + | |||
| + | Exercise: | ||
| + | * Clone the Team-4795/ | ||
| + | * find the file gitplay/ | ||
| + | * Using a text editor (like textedit, notepad, emacs, or vim), add one new line to the file that contains at least your name. Do not use word or any other word processor to edit these plain-text files. | ||
| + | |||
| + | These screenshots show what you'll see. Use " | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Some editors will run right in the terminal, others will start up a new window in which they can support | ||
| + | menus and mouse actions. | ||
| + | |||
| + | {{ : | ||
| + | |||
| ===== git status ===== | ===== git status ===== | ||
| Git status shows what you've done in your working copy, listing files that have been changed or created. | Git status shows what you've done in your working copy, listing files that have been changed or created. | ||
| Line 37: | Line 55: | ||
| Exercise: | Exercise: | ||
| - | * Clone the Team-4795/ | + | * do the edit shown above, either from the command line or from a graphical file manager |
| - | * find the file gitplay/team-git-practice-file | + | * open a terminal and find the team-git-practice-file |
| - | * Using a text editor (like textedit, notepad, emacs, or vim), add one new line to the file that contains at least your name. Do not use word or any other word processor to edit these plain-text files. | + | |
| * run "'' | * run "'' | ||
| Line 87: | Line 104: | ||
| ====== References ====== | ====== References ====== | ||
| + | * https:// | ||
| * official git documentation and tutorial: https:// | * official git documentation and tutorial: https:// | ||
| * another tutorial https:// | * another tutorial https:// | ||
git_introduction.1542314666.txt.gz · Last modified: 2018/11/15 15:44 by tell
