git & github

Mert Şimsek – mertsimsek.net
@orhunmertsimsek

28.10.2013

Burak Aydın – burakaydin.net.tr
1
@burakaydn
git
Version Control Like Him
Dallanma ve
Birleştirme

Açık Kaynak

Hız ve Boyut

Dağıtık
Çalışma
Windows
http://git-scm.com/download/win

Linux
sudo apt-get install git-core

Mac
Konfigürasyon

$ git config –-global user.name "Ad Soyad"
$ git config –-global user.email "epost@dresi.com"

~/.gitconfig
Yeni bir kod deposu

$
$
$
$

git init
echo "/bin" >> .gitignore
echo "/gen" >> .gitignore
git add .
Initial commit

$ git commit –m "neden?"
git log
$ git log
commit b75757a711da3cdc7d102ac9c6c1f23dd1cc2fde
Author: andromedateam
<orhunmertsimsek@gmail.com>
Date:
Wed Jun 12 17:45:38 2013 +0300
Initial commit
git status
$ git status
# On branch master
# Untracked files:
#
(use "git add <file>..." to include in what
will be committed)
#
# Git_CheatSheet_tr.mdnothing added to commit
but untracked files present (use "git add" to
track)
Uzak kod deposu
$ git remote add origin git@git...
$ git push origin master
$ git pull origin master

$ git clone git@github.com:mertsimsek/gitcheatsheet.git
$ git branch yeni_özellik
$ git checkout branch_ismi
$ git merge branch_ismi
$ git push –f origin master
$ git pull -f
git tag

$ git tag etiket_adı
$ git checkout etiket_adı





Github – github.com
Bitbucket – bitbucket.com
Assembla – assembla.com
Google Code – code.google.com
is the best place to
share code
goo.gl/UkMV8
DEMO
Teşekkürler…
Mert Şimsek – mertsimsek.net
@orhunmertsimsek
Burak Aydın – burakaydin.net.tr
@burakaydn

Git&Github - Android Developer Days 2013