Post

03-Repo Nedir?

03-Repo Nedir?

Repository Nedir?

  • Herhangi bir projenin ilk adımı bir repo oluşturmaktır. Bir Git “deposu” (veya “repo”) tek bir projeyi temsil eder. Genellikle üzerinde çalıştığınız her proje için bir deponuz olur.

  • Bir depo, esasen bir projeyi (diğer dizinleri ve dosyaları) içeren bir dizindir.

Repo Oluşturma

  • Bir dizin oluşuturup içine giriyoruz.
1
2
mkdir git-rehberi
cd git-rehberi
  • Ardından git init komutu ile bu dizini bir git deposuna dönüştürüyoruz.
1
git init
  • Kontrol etmek için ls -a komutunu kullanabiliriz.
1
ls -a

Bu gizli dizin, Git’in projeye ait tüm dahili izleme ve sürüm bilgilerini depoladığı yerdir.

This post is licensed under CC BY 4.0 by the author.

Trending Tags