Skip to content

Instantly share code, notes, and snippets.

@gokhancerk
Created November 25, 2021 15:22
Show Gist options
  • Save gokhancerk/4d22fb0246741958fd0750297e86cfe6 to your computer and use it in GitHub Desktop.
Save gokhancerk/4d22fb0246741958fd0750297e86cfe6 to your computer and use it in GitHub Desktop.
Git cheethsheet

Remote değişiklikleri local'e almak

  git fetch origin
  git log origin/main // değişiklik yapılan commitler
  git fetch // Remote branch'deki değişiklikleri indirir
  git pull // local branch'inize entegre eder

Git pull komutu aslında arka arkaya iki şey yapmanızı sağlar

  • Remote branch'deki değişiklikler ile ilgili bilgileri indirmek, yani git fetch
  • Remote branch'deki değişiklikleri local branch'inize entegre etmek yani git merge

Remote Değişiklikleri Entegre Etmek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment