SlideShare a Scribd company logo
GIT Tutorial 
Ozyegin University, Computer Science 
CS 320 - Software Engineering 
muratkrty@gmail.com 
October 14, 2014 
(CS 320- Software Engineering) GIT Tutorial October 14, 2014 1 / 11
History and Basics 
GIT is 
1 fast (thanks to C) 
2 distributed (unlike SVN) 
3 secure (check SHA) 
4 intuitive and easy to learn 
5 FOSS (GPLv2) 
6 used by pros (DHH, Torvalds) 
7 used for reputable projects (Rails, 
Django, Linux kernel) 
(CS 320- Software Engineering) GIT Tutorial October 14, 2014 2 / 11
Use the GIT, young Padawan! 
A7! GIT 
B7! SVN 
1 
1google,trends 
(CS 320- Software Engineering) GIT Tutorial October 14, 2014 3 / 11
Work Flow I 
2 
2http://git-scm.com/book/en/Getting-Started-Git-Basics 
(CS 320- Software Engineering) GIT Tutorial October 14, 2014 4 / 11
Work Flow II 
3 
3http://blogpro.toutantic.net/2012/01/02/another-git-branching-model/ 
(CS 320- Software Engineering) GIT Tutorial October 14, 2014 5 / 11
Setup/Con
guration 
Who the heck are you? 
$ git con
g {global user.name=luke 
$ git con
g {global user.email=luke@skywalker.com 
$ git con
g {global core.editor emacs 
$ git con
g {global color.iu true 
(CS 320- Software Engineering) GIT Tutorial October 14, 2014 6 / 11

More Related Content

ODP
Besut Kode - Workshop 1
PDF
Intro android
PDF
Git workflows (Basics)
PDF
#3 - Git - Branching e Merging
PPTX
Introduce gobject introspection
PDF
Magie di git
ODP
GIT - DUG Antwerp
ODP
Git slides
Besut Kode - Workshop 1
Intro android
Git workflows (Basics)
#3 - Git - Branching e Merging
Introduce gobject introspection
Magie di git
GIT - DUG Antwerp
Git slides

What's hot (20)

PDF
GitLab_meetup_tokyo_201807
PDF
R10K Workshop - PuppetConf 2014
PDF
How GitHub impacts our career life?
PPTX
Git basics
PDF
Git and GitHub for RallyOn
PDF
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
PDF
[ABC2018Spring]Flutterアプリ開発入門
PDF
A practical 30m intro to Git vcs
PDF
Golang taipei #45 10th birthday
PDF
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
PPTX
Workshop on Source control, git merge walkthroughs
PDF
Swift勉強会第1回 〜Hello, Worldしてみよう〜
PDF
Introduction to GIT
PPTX
SCM Gitlab Advanced
PDF
SouthEast LinuxFest 2015 - intro to git
PPTX
.NET Core, ASP.NET Core e .NET Standard 2
KEY
An introduction to Git.
PDF
componentDidCatch and Error Boundaries in React v16+
PDF
Pseudo-versions, moving to Go1.13 and later versions
PDF
Helping Yourself With_Open_Source_Software at Ruby Conference Kenya 2017 by M...
GitLab_meetup_tokyo_201807
R10K Workshop - PuppetConf 2014
How GitHub impacts our career life?
Git basics
Git and GitHub for RallyOn
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
[ABC2018Spring]Flutterアプリ開発入門
A practical 30m intro to Git vcs
Golang taipei #45 10th birthday
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
Workshop on Source control, git merge walkthroughs
Swift勉強会第1回 〜Hello, Worldしてみよう〜
Introduction to GIT
SCM Gitlab Advanced
SouthEast LinuxFest 2015 - intro to git
.NET Core, ASP.NET Core e .NET Standard 2
An introduction to Git.
componentDidCatch and Error Boundaries in React v16+
Pseudo-versions, moving to Go1.13 and later versions
Helping Yourself With_Open_Source_Software at Ruby Conference Kenya 2017 by M...
Ad

Viewers also liked (20)

PPTX
14 gi ana phy and diseases
PPT
The digestive system
PPTX
Nasogastric intubation
PPT
Epidemiology
PPTX
Tracheostomy class
PPTX
Urinary bladder
PPTX
Tropical Diseases
PPTX
Tropical
PPTX
Tracheostomy -INDICATIONS,CONTRAINDICATIONS,PROCEDURE,COMPLICATIONS
PPTX
Oesophagus – perforation, mallory weiss syndrome and
PPTX
Anatomy and physiology of GI system and Diagnostic techniques
PPTX
Neck tumors
PPT
Uti class
PDF
Cholecystectomy open versus laparoscopic surgery
PPT
Gas gangrene akbar
PPTX
Tropical disease
PPT
PPTX
Cholecystectomy class
PPTX
Hydronephrosis
PPTX
Tetanus
14 gi ana phy and diseases
The digestive system
Nasogastric intubation
Epidemiology
Tracheostomy class
Urinary bladder
Tropical Diseases
Tropical
Tracheostomy -INDICATIONS,CONTRAINDICATIONS,PROCEDURE,COMPLICATIONS
Oesophagus – perforation, mallory weiss syndrome and
Anatomy and physiology of GI system and Diagnostic techniques
Neck tumors
Uti class
Cholecystectomy open versus laparoscopic surgery
Gas gangrene akbar
Tropical disease
Cholecystectomy class
Hydronephrosis
Tetanus
Ad

Similar to Git tutorial for CS320 Students (20)

PDF
Git Going With DVCS v1.5.2
PPT
CSE 390 Lecture 9 - Version Control with GIT
PPT
391Lecture0909 Vision control of git.ppt
KEY
My understanding of Git
PPT
Introduction to Git
PPT
ODP
Introduction to Git
PDF
Harvard ABCD-WWW Git presentation
PPT
Git training
PPT
Introduction to git
PDF
Intro to Git
PPTX
Git.From thorns to the stars
PDF
Why Git Sucks and you'll use it anyways
PPTX
Git One Day Training Notes
PPTX
Git Ninja KT (GitHub to GitLab)
PPTX
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
PPTX
Working in Team using Git in Unity
PPTX
Roslyn on GitHub
PDF
Git Tutorial A Comprehensive Guide for Beginners.pdf
PDF
Git for Windows
Git Going With DVCS v1.5.2
CSE 390 Lecture 9 - Version Control with GIT
391Lecture0909 Vision control of git.ppt
My understanding of Git
Introduction to Git
Introduction to Git
Harvard ABCD-WWW Git presentation
Git training
Introduction to git
Intro to Git
Git.From thorns to the stars
Why Git Sucks and you'll use it anyways
Git One Day Training Notes
Git Ninja KT (GitHub to GitLab)
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
Working in Team using Git in Unity
Roslyn on GitHub
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git for Windows

Recently uploaded (20)

PPT
introduction to datamining and warehousing
PPTX
Construction Project Organization Group 2.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Artificial Intelligence
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT
Project quality management in manufacturing
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Digital Logic Computer Design lecture notes
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Sustainable Sites - Green Building Construction
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
introduction to datamining and warehousing
Construction Project Organization Group 2.pptx
Foundation to blockchain - A guide to Blockchain Tech
Mechanical Engineering MATERIALS Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
OOP with Java - Java Introduction (Basics)
Artificial Intelligence
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Project quality management in manufacturing
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Digital Logic Computer Design lecture notes
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT 4 Total Quality Management .pptx
Safety Seminar civil to be ensured for safe working.
bas. eng. economics group 4 presentation 1.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Sustainable Sites - Green Building Construction
Operating System & Kernel Study Guide-1 - converted.pdf

Git tutorial for CS320 Students

  • 1. GIT Tutorial Ozyegin University, Computer Science CS 320 - Software Engineering muratkrty@gmail.com October 14, 2014 (CS 320- Software Engineering) GIT Tutorial October 14, 2014 1 / 11
  • 2. History and Basics GIT is 1 fast (thanks to C) 2 distributed (unlike SVN) 3 secure (check SHA) 4 intuitive and easy to learn 5 FOSS (GPLv2) 6 used by pros (DHH, Torvalds) 7 used for reputable projects (Rails, Django, Linux kernel) (CS 320- Software Engineering) GIT Tutorial October 14, 2014 2 / 11
  • 3. Use the GIT, young Padawan! A7! GIT B7! SVN 1 1google,trends (CS 320- Software Engineering) GIT Tutorial October 14, 2014 3 / 11
  • 4. Work Flow I 2 2http://git-scm.com/book/en/Getting-Started-Git-Basics (CS 320- Software Engineering) GIT Tutorial October 14, 2014 4 / 11
  • 5. Work Flow II 3 3http://blogpro.toutantic.net/2012/01/02/another-git-branching-model/ (CS 320- Software Engineering) GIT Tutorial October 14, 2014 5 / 11
  • 7. guration Who the heck are you? $ git con
  • 10. g {global core.editor emacs $ git con
  • 11. g {global color.iu true (CS 320- Software Engineering) GIT Tutorial October 14, 2014 6 / 11
  • 13. guration Command-FU $ mkdir demo; cd demo; emacs demo.rb # print hello /demo$ git add . /demo$ git commit -m Added demo.rb /demo$ git log /demo$ git lg # aliased and beauti
  • 14. ed log version Play with your
  • 15. rst repo via CRUD operations. Command-FU II /demo$ git re og /demo$ git di /demo$ git di {cached /demo$ git clone (CS 320- Software Engineering) GIT Tutorial October 14, 2014 7 / 11
  • 16. Command-Fu III Most used commands. API approach is OK! $ git init $ git clone $ git add $ git status $ git commit $ git branch $ git checkout $ git merge $ git push $ git fetch $ git pull $ git log $ git revert (CS 320- Software Engineering) GIT Tutorial October 14, 2014 8 / 11
  • 17. Do or Do not! DO 1 CRUD commit messages 2 commit often 3 use aliased commands 4 ask help!! 5 ... DO NOT! 1 commit with errors 2 use personal work- ow 3 work in single branch 4 RY 5 ... (CS 320- Software Engineering) GIT Tutorial October 14, 2014 9 / 11
  • 18. Worth to read/watch Videos Introduction to Git with Scott Chacon of GitHub Tech Talk: Linus Torvalds on git Git From the Bits Up (Advanced) Advanced Git: Graphs, Hashes, and Compression, Oh My! Tutorials Git and GitHub Version Control Tutorial Atlassian Git Tutorials Pro Git Book (Freely available) Try Git/Github What are other good resources for learning Git and GitHub? git {help (CS 320- Software Engineering) GIT Tutorial October 14, 2014 10 / 11
  • 19. Tips/Tricks 4 4http://blog.codinghorror.com/learn-to-read-the-source-luke/ (CS 320- Software Engineering) GIT Tutorial October 14, 2014 11 / 11