This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Получаем хэш-код коммита, к которому хотим вернуться. | |
2. Заходим в папку репозитория и пишем в консоль: | |
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a | |
$ git push --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |