Skip to content

Instantly share code, notes, and snippets.

View derv-dice's full-sized avatar
🎮
U wanna play? Let's play

Eugene Amelin derv-dice

🎮
U wanna play? Let's play
  • Astral Soft
  • Russia, St. Petersburg
View GitHub Profile
![Иллюстрация к проекту](https://github.com/jon/coolproject/raw/master/image/image.png)
![Image alt](https://github.com/{username}/{repository}/raw/{branch}/{path}/image.png)
{username} — ваш ник на ГитХабе;
{repository} — репозиторий где хранятся картинки;
{branch} — ветка репозитория;
{path} — путь к месту нахождения картинки.
# откатываем последний коммит, но не удаляем изменения
git reset HEAD~ --soft
git add .
git stash
# переключаемся на нужную ветку
git checkout имя-верной-ветки
git stash pop
git add .
git commit -m "тут ваш комментарий"
# теперь изменения в нужной ветке
@joyrexus
joyrexus / README.md
Last active March 16, 2025 19:03
nested templates in go

Example of nested templates.

Given this file layout ...

.
├── server.go
└── templates
    ├── profiles.html
    └── layout.html