# системы управления версиями

Published articles for системы управления версиями.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## История потерянного коммита

DevFeed: [История потерянного коммита](<https://devfeed.tech/articles/article-23629.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/badoo/articles/534800/>)

Author: ShaggyRatte (Badoo)

Published: 2020-12-24T12:03:01Z

Content type: article

Language: ru

Sources: [Badoo EN](<https://devfeed.tech/sources/badoo-en.md>), [Badoo RU](<https://devfeed.tech/sources/badoo-ru.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>)

Tags: [git](<https://devfeed.tech/tags/git.md>), [history](<https://devfeed.tech/tags/history.md>), [merge](<https://devfeed.tech/tags/merge.md>), [tag-6afcb886af7c](<https://devfeed.tech/tags/tag-6afcb886af7c.md>), [tag-aa5252a92430](<https://devfeed.tech/tags/tag-aa5252a92430.md>)

### AI overview

A developer investigates why the Git commit deadbeef and its changes no longer appear in a file's history. The investigation uses git log --follow, git bisect, and git grep to trace when the changes disappeared.

### Source excerpt

Был уже вечер, когда ко мне обратился разработчик. Из мастер-ветки пропал патч -- коммит deadbeef. Мне показали доказательства: вывод двух команд. Первая из них -- git show deadbeef -- показывала изменения файла, назовём его Page.php. В него добавились метод canBeEdited и его использование. А в выводе второй команды -- git log -p Page.php -- коммита deadbeef не было. Да и в текущей версии файла Page.php не было метода canBeEdited. Не найдя решения быстро, мы сделали ещё один патч в мастер, разложили изменения -- и я решил, что вернусь к проблеме на свежую голову. Читать дальше ->