T1122

Ladda ner som PDF

Git Basic

This course covers how to practially use Git, while also providing a solid foundation for how Git works under the hood. Abandon your CVS pushbike and board your new Git helicopter!

Audience

Developers with either no prior experience of version control, or users of traditional(centralized) systems wanting to learn about distributed version control. 

Prior knowledge

Basic file management in Windows or Linux, good to be familiar with the command interface.

Courseware

Courseware in English.

Informator Training Cloud

Our training portal supports your development throughout the training. The portal saves you time and is designed to give you a more effective learning experience - leading to better results and greater knowledge enforcement after the course. Read more >

In the last several years, distributed version control has revolutionized the way we do development. Among the various DVCS offerings, Git is a popular, flexible and advanced open-source tool that increases team productivity as less time is spent on merge conflicts and branching becomes painless.

Contents:

What's version control?

  • Why do we want it?

A quick history

  • RCS, CVS, SVN
  • Centralized vs distributed
  • Merging: a solution that turned into a problem

Walkthrough exercise I

  • init, add, commit
  • status, log, diff
  • branch, checkout, (simple) merge

Understanding the DAG

  • blobs, trees, commits
  • gitk
  • SHA hashes

Going distributed

  • Adding remotes to your project
  • A pull is a fetch and a merge
  • A centralized location?
  • Hosted git

Walkthrough exercise II

  • remote, clone, push, pull
  • resolving conflicts

Rebasing

  • The undesirability of merge commits
  • Rewriting history
  • The push/rebase tension

Walkthrough exercise III

  • commit --amend
  • rebasing a branch
  • pull --rebase
  • rebase --interactive

Misc

  • The index
  • The reflog
  • rm, mv
  • cherry-pick
  • reset
  • stash
  • Tags

Blogposts about Git

In the last several years, distributed version control has revolutionized the way we do development. Among the various DVCS offerings, Git is a popular, flexible and advanced open-source tool that increases team productivity as less time is spent on merge conflicts and branching becomes painless.

Contents:

What's version control?

  • Why do we want it?

A quick history

  • RCS, CVS, SVN
  • Centralized vs distributed
  • Merging: a solution that turned into a problem

Walkthrough exercise I

  • init, add, commit
  • status, log, diff
  • branch, checkout, (simple) merge

Understanding the DAG

  • blobs, trees, commits
  • gitk
  • SHA hashes

Going distributed

  • Adding remotes to your project
  • A pull is a fetch and a merge
  • A centralized location?
  • Hosted git

Walkthrough exercise II

  • remote, clone, push, pull
  • resolving conflicts

Rebasing

  • The undesirability of merge commits
  • Rewriting history
  • The push/rebase tension

Walkthrough exercise III

  • commit --amend
  • rebasing a branch
  • pull --rebase
  • rebase --interactive

Misc

  • The index
  • The reflog
  • rm, mv
  • cherry-pick
  • reset
  • stash
  • Tags

Blogposts about Git

Utbildningen levereras i samarbete med

Kurs-ID: T1122
Längd: 1 dag
Pris exkl moms: 10 950 kr

Frågor om kursen?

Har du frågor om kursens innehåll, leveransdatum/ort eller behöver en företagsanpassad variant? Fyll i formuläret nedan!


Kan betalas med:
TRAINING CARD

Ort och datum

Stockholm
Göteborg
Malmö
Cloud Access
i Läs mer

Delta på kursen från ditt hem, jobb eller annan plats.

Tipsa