Загрузка...

GitHub and ServiceNow 03: Revert Commits

Step-by-step instructions on reverting a commit and how to resync repo code back with ServiceNow.
In a repo clone, issue the following commands:
1. git log --reflog
2. git revert [the_commit_id_to_remove]
3. git add -u
4. git revert –continue (:wq!)
5. git push

Once the commit is reverted on the git repo and "Apply remote changes" is done from the instance. Both records will go back to a previous version before the changes were made

Each record has associated a history of versions in sys_update_version
Find the version that had the changes and in the Global scope use "revert to this version"

Видео GitHub and ServiceNow 03: Revert Commits канала Ofer Asif
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять