Skip to content

Instantly share code, notes, and snippets.

@vorozhba
vorozhba / Как удалить commit в Github.txt
Last active October 17, 2024 12:17
Как удалить commit в Github
1. Получаем хэш-код коммита, к которому хотим вернуться.
2. Заходим в папку репозитория и пишем в консоль:
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a
$ git push --force
@billycromb
billycromb / vimcolor.sh
Created March 14, 2017 18:35
How to get rid of a different color border around vim in iTerm2
#!/bin/bash
# In iTerm, if you have a different colored terminal theme than what you use for
# vim. You'll see a border of whatever the background color is in fullscreen
# mode One way to get rid of this is to use escape sequences to switch to a
# different profilewhen you open vim, and back when you are done.
# for this to work you need to have a profile set up called 'vimcolors'
# that matches your vim colorscheme (or at least the background color)