Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git+Github
Search
Ahmet Sina Ustem
November 03, 2016
Programming
0
92
Git+Github
GDG Tekirdağ LevelUp etkinliğinde sunduğumuz Git ve Github başlangıç eğitimi.
Ahmet Sina Ustem
November 03, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
120
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
概念モデル→論理モデルで気をつけていること
sunnyone
2
230
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.6k
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
1.7k
Improving my own Ruby thereafter
sisshiki1969
1
160
Testing Trophyは叫ばない
toms74209200
0
880
Rancher と Terraform
fufuhu
2
550
Reading Rails 1.0 Source Code
okuramasafumi
0
230
testingを眺める
matumoto
1
140
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
320
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
How GitHub (no longer) Works
holman
315
140k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Statistics for Hackers
jakevdp
799
220k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Agile that works and the tools we love
rasmusluckow
330
21k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
112
20k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
4 Signs Your Business is Dying
shpigford
184
22k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
920
Transcript
Git ve Github ? Ahmet Sina Ustem - ahmetsina.com -
@ustemahmed
Şuan ne yapıyoruz?
Git Nedir? Dağıtık Çalışan Sürüm Control (DVCS) ve Kaynak Kod
Yöntemi (SCM) DVCS : Distributed Version Control System SCM : Source Code Management
Neden ‘Git’? • Kaynak Kod Yönetimi • Sürüm Version Takibi
• Birden fazla kişiyle çalışma ve paylaşma • Repository Hizmeti • Deployment (Sunucuya uygulamanın kurulumu)
Tarihçe Linus Torvalds Reyiz! Linux BitKeeper 2005
Diğer Uygulamalar CVS SVN MERCURIAL BITKEEPER PROVISION BAZAAR PERFORCE
Avantajları • Dallanma ve Birleştirme • Hız • Dağıtık Çalışma
• Güvenlik • Ön İzleme • Açık Kaynak
Kurulum - Let the hacking begin. https://git-scm.com
Git Ayarları $ git config --global user.name “kullaniciadi” $ git
config --global user.email “mailadresiniz”
Üç Temel Aşama
Çalışma Alanı Oluşturma ve İlk Depo(Repository) $ git init //git
initialize try.github.io
Clone (Klonlama) $ git clone https://github.com/libgit2/libgit2 $ git clone <directory-name>
https://github.com/libgit2/libgit2
Git Temelleri $ git status //repo durumunu öğrenme $ git
add (-s) //dosyaları izleme (-s kısa durum) $ git diff //dosyadaki değişiklikleri görme $ git commit (-m) “commit mesaji” //değişiklikleri mesaj olarak işleme $ git rm //dosyayı repodan kaldırma $ git mv //dosya ismini değiştirme
Git Temelleri $ git commit ---amend //yapılan değişiklikleri geri alma
(dönüşü yok!) $ git log $ git show
Remote - (Uzak Birimlerle Çalışma) $ git clone $ git
remote add <shortname> <url> $ git remote (-v) $ git fetch <remote-name>
Push (-it real good) $ git remote add <shortname> <url>
$ git remote (-v) $ git fetch <remote-name> $ git push <remote-name> <branch-name> $ git pull
Tagging (Etiketleme) $ git tag -a v1.4 -m “my version
1.4” $ git tag
Aliases (Kısaltmalar) $ git config --global alias.co checkout $ git
config --global alias.ci commit $ git config --global alias.st status
Branching (Dallanma) $ git branch <new_branch> $ git checkout <new_branch>
$ git branch -d <new_branch> $ git merge <branch_name>
//15 dk ara
Github Nedir? Git sistemi kullanan bir arayüz. Linux’u kullanan Ubuntu
gibi. Public ve Private olarak projeler oluşturmanızı sağlar. Bununla birlikte birçok yazılımda kullanılan önemli kütüphanelerin barınağı. Dokümantasyon kaynağı. Buna rağmen ülkemiz tarafından yasaklanan site.
Sign Up and Sign In 1- Github sitesine erişin ve
“Sign up” butonuna tıklayın. 2- Free account olarak seçin. 3- Kaydı tamamladıktan sonra mailinize gelen onay linkine tıklayın.
Explore Github 1- Dashboard 2- User Profile 3- Github Repositories
Github Flow
Branch
Diğer Uygulamalar
Kaynaklar 1- git-scm.com/book 2- try.github.io 3- atlassian.com/git/tutorials/ 4- github.github.com/on-demand/ (yapım
aşamasında) 5- rogerdudler.github.io/git-guide/index.tr.html
Teşekkürler Ahmet Sina Ustem - ahmetsina.com - @ustemahmed