Skip to content

Instantly share code, notes, and snippets.

@homburg
Created December 8, 2017 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save homburg/4f50cd718898863aac419be71a69c5ac to your computer and use it in GitHub Desktop.
Save homburg/4f50cd718898863aac419be71a69c5ac to your computer and use it in GitHub Desktop.
Git workshop abstract

Abstract - GIT

Git er bygget om et lille antal (indforståede) koncepter. Ved at få en introduktion til git's byggesten, kan man få en bedre forståelse af hvordan git fungerer og hvilke tilstande et git-repository kan komme i.

Emner

  • .git-mappen
  • git objekter (commit, tree, blob, annotated tag)
  • refs (tags, branches, HEAD)

Cases / workflows

  • Hvad er "detached head" og er det farligt?
  • Hvorfor skal man bruge remote refs istedet for lokale refs?
  • Hvad gør rebase?
  • Hvad gør reset?

Referencer

https://git-scm.com/documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment