Git Product home page Git Product logo

git-komutlari-1's Introduction

GIT KOMUTLARI

KULLANICI BILGILERI

  git config --global user.name "kullanıcı adı"
  git config --global user.email "e-posta"
  git config --list           # Calisma ve kullanici bilgilerini göster

YEREL DEPO

  git add <DOSYA(LAR)>        # Yeni ve degismis dosyalari guncellenecekler listesine ekle
  git add .                   # Yeni ve degismis dosyalarin tumunu guncellenecekler listesine ekle
  git add -u                  # Silinmis ve degistirilmis dosyalari guncellenecekler listesine ekle
  git rm <DOSYA(LAR)>         # Calisma agacında ve dizinde dosyalari kaldir
  git rm -f                   # Calisma agacında ve dizinde dosyalari zorla kaldir
  git commit -m 'not'         # Değisiklikleri depoya kaydet
  git commit -a -m "not"      # Tum değisiklikleri depoya kaydet
  cat .gitignore              # Dosyayi depoya ekleme
  git rm --cached <DOSYA>     # Dosyayi takip etmeyi birak
  git diff                    # Degisiklikler arasindaki farklari goster
  git diff --cached           # Listeye Eklenen Değişiklikler Arasındaki Farkları Göster
  git status                  # Calisma agacindaki durumu goster
  git log                     # Islem gunlugunu goster 

UZAK DEPO

  git clone <ADRES>           # Uzaktaki depoyu klonla
  git pull                    # Depodaki son degisiklikleri al
  git push                    # Yereldeki degisiklikleri uzak depoda uygula (origin master)komutuda eklenebilir

DAL (BRANCH) KOMUTLARI

  git branch <DAL ADI>        # Dal olustur
  git branch                  # Dallari goster
  git checkout <DAL ADI>      # Calisilan dali degistir    
  git merge <DAL ADI>         # Dallari birlestir
  git branch -d <DAL ADI>     # Dal sil

DIGER KOMUTLAR

  git --version               # Git versiyon numarasını  göster
  git --help                  # Git yardım sayfasını göster 
  git remote -v               # Uzak depo adresini ver
  git log --since=<LIMIT>     # Iki zaman araligindaki commitleri goster
  git shortlog -s             # Commit yapanlarin isim ve commit sayilarini goster
  git shortlog -e             # Commit yapanlarin isim ve E-postalarini goster
  git shortlog -n             # Commit yapanlari commit sayisina gore sirala 
  git reset -- hard HEAD      # Son yapılan degisiklikleri iptal ederek HEAD geri don
  git checkout -- <DOSYA>     # Sadece bir dosyayi depodaki haline geri getir
  git revert HEAD             # Son yapilan commiti geri al
  git stash save              # Commit yapilmamis degisiklikleri kaydet
  git stash pop               # Commit yapilmamis degisikliklere geri don
  git stash list              # Commit yapilmamis degisiklikleri listele
  git stash drop              # Commit yapilmamis degisiklikleri kaldır
  git grep                    # Mevcut dal icersinde kelime veya ifade arama
  gitk                        # Git gorsellestirme programi

NOTLAR

  1- <DOSYA(LAR)>  yazili bolumlerde islem yapilan oge veya ogeler yazilacaktir.
  2- Git ontanımlı olarak depo isimlerini origin olarak atar.

KAYNAKCA

  [1] http://www.kernel.org/pub/software/scm/git/docs/
  [2] http://git-scm.com/book

git-komutlari-1's People

Contributors

celalaygar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.