Git boot camp-ygn

20
Git BootCamp Yangon - 2014

description

Presentation for Git BootCamp Yangon.

Transcript of Git boot camp-ygn

Page 1: Git boot camp-ygn

Git BootCampYangon - 2014

Page 2: Git boot camp-ygn

Organized By

Page 3: Git boot camp-ygn

Facilitated by

Page 5: Git boot camp-ygn

Agenda

Section-1: Basic GitSection-2: Branching and MergingSection-3: Working with RepositorySection-4: Gitflow

Page 6: Git boot camp-ygn

About UsYe Mon Kyaw – Software Engineer, Nex Labs

Naing Lin Aung - Software Engineer, Ace Plus

Swan Htet Aung - Software Engineer, Nex Labs

Thuya Myo Nyunt - Software Engineer, Myanmar Plus

Arkar Aung - Software Engineer, Pwarr

Arkar Min Aung - Software Engineer - Nex Labs

Thiha Aye Kyaw – Startup Coach, Ideabox

Ye Lin Aung – CEO of Arpalar Tech

Thura Hlaing – CTO of Arpalar Tech

Zaw Myo Htet – VP of Apalar Tech

Nyan Lynn Htut – Software Engineer, Hexcores Corp.

Page 7: Git boot camp-ygn

Why VCS?

Page 8: Git boot camp-ygn

Git?

❏ Open Source Distributed VCS❏ Initially designed and developed by Linus

Torvalds❏ Very popular

Page 9: Git boot camp-ygn

Why Git? Why popular?

❏ Branching and Merging❏ Small and Fast❏ Distributed❏ Data Assurance❏ Staging Area❏ Free and Open-Source

Page 10: Git boot camp-ygn

RequirementsWindow● Download & Install Git from ( http://git-scm.com/downloads )

Ubuntu● sudo apt-get install git

Mac● brew install git

Page 11: Git boot camp-ygn

GUI Clients

http://git-scm.com/downloads/guis

Page 12: Git boot camp-ygn

Equipment Setup

Open account @ http://www.github.com

ssh-keygen -t rsa

cat ~/.ssh/id_rsa.pub

Page 13: Git boot camp-ygn

GlossaryGit

RepositoryBranchCommit

Pull / PushMerge

RemoteMerge Tool

SSH / SSH Key

Page 14: Git boot camp-ygn

Section-11. Setup3. Create a Project4. Checking Status5. Making Changes6. Staging Changes7. Staging and Committing8. Committing Changes9. Changes, not Files10. History11. Aliases

12. Getting Old Versions13. Tagging versions14. Undoing Local Changes ( before staging )15. Undoing Staged Changes ( before committing )16. Undoing Committed Changes17. Removing Commits from a Branch18. Remove the oops tag19. Amending Commits

Page 15: Git boot camp-ygn

Section-224. Creating a Branch25. Navigating Branches26. Changes in Master27. Viewing Diverging Branches28. Merging29. Creating a Conflict30. Resolving Conflicts

Page 16: Git boot camp-ygn

Section-31. Understanding Repository2. Creating a Repository in Cloud ( Github / Gitlab / Bitbucket )3. Understanding remote4. Pushing to remote repository5. Cloning from existing repository6. Brief Introduction to Github features

Page 17: Git boot camp-ygn

GitflowHottest Topic Ever

Page 18: Git boot camp-ygn
Page 19: Git boot camp-ygn

Lucky Draw

Page 20: Git boot camp-ygn

Thanks You