Skip to content

Instantly share code, notes, and snippets.

@ecmelkytz
Created October 26, 2017 11:19
Show Gist options
  • Save ecmelkytz/4dfcca4c103da1b0f687053adc70a18f to your computer and use it in GitHub Desktop.
Save ecmelkytz/4dfcca4c103da1b0f687053adc70a18f to your computer and use it in GitHub Desktop.

.gitignore'a sonradan ekleme yapıp, repo'daki ilgili dosyayı sildirip takipten çıkarmak için:

git rm -r --cached .
git add .
git commit -m "fixed untracked files"

Repoda dursun ve değişiklikleri takip etmesin istiyorsak:

git update-index --assume-unchanged FILE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment