git ile versiyon kontrolü
TRANSCRIPT
AjandaVersion Kontrolü nedir
Git nedir? Git kurulumu
Temel Komutlar
Kod Deposu Yönetimi (Github)
Takım Çalışmalarında Git (Gitflow)
Semantik Versiyonlama: Semver
Hedef: Takım halinde bir kod deposu oluşturmak
Git NedirThe name "git" was given by Linus Torvalds when he wrote the very first version. He described the tool as "the stupid content tracker"and the name as (depending on your way)
- random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of "get" may or may not be relevant.
- stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.
- "global information tracker": you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.
- "g*dd*mn idiotic truckload of sh*t": when it breaks
Temel Komutlar ~ man git :)~ git init~ .gitignore~ git config~ git add~ git stash~ git commit~ git remote~ git checkout~ git branch~ git push~ git pull ~ git log
~ git clone~ git blame~ git rebase~ git merge~ git fetch~ git reset~ git revert~ git gc~ git cherry-pick~ git diff~ git help <command>
https://try.github.io/levels/1
Önerilen Kullanım Biçimi
https://try.github.io/levels/1
~ man git => Kaynağından okuSık commit yapSakin ol. Git’te kod kaybolmaz (şayet commit’lediysen ;)History’s güncelleme, yeni commit atDallanma akışı seçYetki dağılımına uygun kod depolarına ayırAnlaşılır ve kısa commit mesajları at Repine güncel tut (Sık git rebase)Fazla stash tutma, askıdaki nesneleri temizle (git fetch -p & git gc)Gitolite, Gitslave, Sourcetree gibi yardımcı araçlar kullan
Git kod depolama servisi
2007’de kuruldu, ~48 mn projeyi barındırıyor
Açık kaynak projelerde ücretsiz
Takım & Organizasyonel Yetki Yönetimi
Github KullanımıHesap & Organizasyon Oluşturma
Repository (kod deposu) oluşturma
Klonlama (pull & push & revert & reset & remote ..)
Semver (Semantik Versiyonlama)Versiyon numaraları MAJOR.MINOR.PATCH kuralına göre ilerler
1) Yapısal API değişiklikleri için MAJOR,
2) Mevcut API ile çalışabilen yeni fonksiyonaliteler için MINOR
3) Geçmişle uyumlu hata ayılakamalar (bug-fix) için PATCH şeklinde etiketleyiniz
Ne ÖğrendikVersion Kontrolü Nedir
Git Nedir? Nasıl Kurulur
Temel Git Komuve Kavramları
Kod Deposu Yönetimi (Github)
Takım Çalışmaları İçin Dal Yönetimi (Gitflow)
Semantik Versiyonlama
Kaynakçahttps://git-scm.com/doc
https://wildlyinaccurate.com/a-hackers-guide-to-git/
http://nvie.com/posts/a-successful-git-branching-model/
https://try.github.io
https://github.com
Lütfen aşağıdaki adreslerden geri dönüşlerinizi bildiriniz
Katıldığınız İçin Teşekkürler
[email protected] & Github: @ilhnctnhttps://bit.ly/GitFeedback