Livejournal
Log in
Post
Friends
My journal
garl
Как удалить commit в Github
garl
May 26, 2020 22:31
1. Получаем хэш-код коммита, к которому хотим вернуться.
2. Заходим в папку репозитория и пишем в консоль:
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a
$ git push --force (
Read more...
)
git
Leave a comment
git отключить слежение за правами
garl
Sep 08, 2019 19:46
Для git'ового репозитория отключение слежения за правами
в репозитории:
git config core.filemode false
в общем:
git config --global core.filemode false
взято отсюда
https://github.com/Gizra/KnowledgeBase/wiki/How-to-set-Git-to-ignore-chmod (
Read more...
)
git
,
репозитории
Leave a comment
Up