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
import keyring | |
import gkeepapi | |
################################################################ | |
# Simple script that exports Google Keep notes to a file called | |
# export-google-keep.py in the current directory. A note will | |
# look like this: | |
# Hearthstone want list 2,☑ Aggro Druid common’s : Mark of the Lotus, power of the wild | |
# Rogue eviscerate, cold blood, | |
# |
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 |