Files
tldr/pages.tr/common/git-update-ref.md

13 lines
350 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git update-ref
> Git referanslarını yaratmak, güncellemek ve silmeye yarayan bir Git komutu.
> Daha fazla bilgi: <https://git-scm.com/docs/git-update-ref>.
- Bir referansı sil (ilk commit'i hafifçe sıfırlamaya yarar):
`git update-ref -d {{HEAD}}`
- Referansı bir mesaj ile güncelle:
`git update-ref -m {{mesaj}} {{HEAD}} {{4e95e05}}`