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
WebViewの現在地 - SwiftUI時代のWebKit - / The Current State Of WebView
marcy731
0
100
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
320
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
1.2k
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
380
GraphRAGの仕組みまるわかり
tosuri13
8
500
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.1k
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
370
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
230
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
48
31k
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
330
Team operations that are not burdened by SRE
kazatohiei
1
260
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
400
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
The World Runs on Bad Software
bkeepers
PRO
69
11k
What's in a price? How to price your products and services
michaelherold
246
12k
Code Review Best Practice
trishagee
68
18k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Designing Experiences People Love
moore
142
24k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
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