create account

Git ile yeni proje oluşturmak ve ilk commit by webcoder

View this thread on: hive.blogpeakd.comecency.com
· @webcoder ·
$0.03
Git ile yeni proje oluşturmak ve ilk commit
<html>
<p><img src="https://git-scm.com/images/about/index1@2x.png" width="686" height="396"/></p>
<p>Eğer bir sürüm kontrol sistemi kullanmak isterseniz bu konuda git kullanmanızı tavsiye ederim. git ile kullanmak üzere tercih edeceğiniz hizmet sitesinde (github, bitbucket vs.) kendiniz için bir üyelik oluşturup ardından projeniz için yeni bir repository oluşturduktan sonra sisteminizde komut istemini açarak aşağıdaki komutları kullanabilirsiniz.</p>
<p>Eğer henüz yapmadıysanız projeniz için bir dizin oluşturun ve yeni dizine gidin:</p>
<blockquote>mkdir proje_dizini<br>
cd proje_dizini</blockquote>
<p>Daha sonra git repo ayarlarını aşağıdaki komutlarla yapabilirsiniz:</p>
<blockquote>git init<br>
git remote add origin https://<strong>kullaniciadi</strong>@bitbucket.org/<strong>kullaniciadi</strong>/<strong>projeadi</strong>.git</blockquote>
<p>İlk komut ile boş bir git repo başlatmış olursunuz. İkinci komut ise bu oluşturulan git reposu için hedef url tanımı yapmış oluyorsunuz. İkinci komutta geçen <strong>kullaniciadi</strong> yerine git hizmeti aldığınız sitedeki kullanıcı adınızı yazın. Komutta örnek olarak <strong>bitbucket.org</strong> kullandım eğer <strong>github.com</strong> yada başka bir siteden hizmet alıyorsanız o sitenin adresini girin. Hemen ardından tekrar kullanıcı adınızı ve daha sonra bir bölü işareti ayracından sonra git hizmeti veren sitede oluşturduğunuz projenin adını sonunda <strong>.git</strong> uzantısıyla birlikte yazın. Bu komutu da başarılı bir şekilde çalıştırdıktan sonra sıra geldi ilk commit işlemini göndermeye. Bunun için de aşağıdaki komutları kullanabilirsiniz:</p>
<blockquote>git add -A<br>
git commit -m 'ilk commit'<br>
git push -u origin master</blockquote>
<p>Bu kısımdaki ilk komut ile çalışma dizininde bulunan tüm dosyaları <strong>commit</strong> ile göndermek üzere ekledik. İkinci komutla ise önceki komutta eklediğimiz dosyaları göndermek üzere bir commit kaydettik ve parametre olarak da yapılan değişikliği yazdık. Bu komuttan sonra eğer isterseniz <strong>git status</strong> komutunu kullanarak git reposunun son durumunu görebilirsiniz. Daha sonra son kullandığımız komutla ise yerel bilgisayarda yaptığımız değişiklikleri daha önce tanımladığımız git repo kaynağına göndermiş olduk. Bu son komutu başarılı bir şekilde çalıştırdıktan sonra git hizmeti aldığınız sitede projenize ait repo sayfasında gönderdiğiniz güncellemeyi görebilirsiniz. projenizde herhangi bir değişiklik yaptığınızda çoğunlukla git için <strong>add</strong>, <strong>commit</strong> ve <strong>push</strong> komutlarını kullanarak yaptığınız güncellemeleri önce yerel git reposunda uygulayıp daha sonra merkez sunucuya göndermiş olursunuz.</p>
</html>
👍  , , , ,
👎  
properties (23)
authorwebcoder
permlinkgit-ile-yeni-proje-olusturmak-ve-ilk-commit
categorytr
json_metadata{"tags":["tr","git","programlama","bitbucket","github"],"users":["bitbucket.org"],"image":["https://git-scm.com/images/about/index1@2x.png"],"app":"steemit/0.1","format":"html"}
created2017-10-04 05:52:48
last_update2017-10-04 05:52:48
depth0
children2
last_payout2017-10-11 05:52:48
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,704
author_reputation38,347,577,159
root_title"Git ile yeni proje oluşturmak ve ilk commit"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id16,733,593
net_rshares11,579,510,969
author_curate_reward""
vote details (6)
@cheetah ·
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://eezgu.blogspot.com/search/label/Git
properties (22)
authorcheetah
permlinkcheetah-re-webcodergit-ile-yeni-proje-olusturmak-ve-ilk-commit
categorytr
json_metadata""
created2017-10-04 05:53:09
last_update2017-10-04 05:53:09
depth1
children0
last_payout2017-10-11 05:53:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length142
author_reputation942,693,160,055,713
root_title"Git ile yeni proje oluşturmak ve ilk commit"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,733,608
net_rshares0
@minnowpond ·
@mrainp420 has voted on behalf of @minnowpond. If you would like to recieve upvotes from minnowpond on all your posts, simply FOLLOW @minnowpond. To be Resteemed to 4k+ followers and upvoted heavier send 0.25SBD to @minnowpond with your posts url as the memo
properties (22)
authorminnowpond
permlinkre-git-ile-yeni-proje-olusturmak-ve-ilk-commit-20171004t060357
categorytr
json_metadata"{"app": "pysteem/0.5.4"}"
created2017-10-04 06:03:57
last_update2017-10-04 06:03:57
depth1
children0
last_payout2017-10-11 06:03:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length258
author_reputation13,239,048,956,578
root_title"Git ile yeni proje oluşturmak ve ilk commit"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,734,285
net_rshares0