howto:github
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:github [2022/04/12 00:28] – Wuff | howto:github [2025/10/21 20:53] (current) – [Create repository] Wuff | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| < | < | ||
| cd context.youtube.dl.menu/ | cd context.youtube.dl.menu/ | ||
| + | git config --global init.defaultBranch main | ||
| git init | git init | ||
| Initialised empty Git repository in / | Initialised empty Git repository in / | ||
| Line 120: | Line 121: | ||
| </ | </ | ||
| + | ===== Forceful undo last commit ===== | ||
| + | < | ||
| + | git reset --hard HEAD^ | ||
| + | git push origin -f | ||
| + | </ | ||
howto/github.1649719714.txt.gz · Last modified: (external edit)