Public notes: Difference between revisions

From Notes
Jump to navigation Jump to search
No edit summary
+
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Git ==
=== Committed to the wrong branch ===
<syntaxhighlight>
git reset HEAD~1
</syntaxhighlight>
and then can just do the normal
<syntaxhighlight>
git checkout -b {task number} origin/master
</syntaxhighlight>
== Misc ==
* https://notes.theresnotime.co.uk — my ''other'' notes ;p
== Great pages/guides ==
== Great pages/guides ==
* https://danluu.com/look-stupid — Willingness to "look stupid"
* https://danluu.com/look-stupid — Willingness to "look stupid"

Latest revision as of 11:52, 25 April 2025

Git

Committed to the wrong branch

git reset HEAD~1

and then can just do the normal

git checkout -b {task number} origin/master

Misc

Great pages/guides