My GitHub Notes - OrkanMetin/SWE-573 GitHub Wiki

Commands:

Init: start repository Add & commit Add: writes file in the disk. Commit: attaches a new commit object, adds labels on it (head, master) Branch feature: adding a new label on the latest commit object (feature) Commit ID: content + author + date + log + previous commit

  • ID is the checksum of things.
  • Every ID is unique.
  • Every commit is unique.
  • Commit never change, because the ID and the content changes…

Checkout: moves head to the label

Git Life Cycle:

Branch feature Checkout Feature Edit Test Add Commit Merge master Test Checkout master Merge feature

  1. Isolate your work,
  2. Pull an update,
  3. Share

Checkout: moves head to the label, updates your working directory.

How to Add Pictures To Your Wiki

In order to add pictures to your wiki page in Git Hub, follow these steps for an easy way:

  1. Create a new issue. You dont even need to save it. Just create a new one.
  2. While editing the description, drag and drop any image from your desktop to the text field on Git Hub, the image will be uploaded to Git Hub, and the url of the uploaded picture will be available in the text field.
  3. Copy the url from the issue content,
  4. Paste the the url of the picture to your wiki page and save. Ready !