meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
git:start [2018/11/08 13:43] – niziak | git:start [2023/05/30 10:26] – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== GIT ====== | ||
+ | |||
====== Preparation ====== | ====== Preparation ====== | ||
Line 6: | Line 8: | ||
git config sendemail.signedoffcc false | git config sendemail.signedoffcc false | ||
git config sendemail.suppressfrom true | git config sendemail.suppressfrom true | ||
+ | </ | ||
+ | |||
+ | === replace github' | ||
+ | NOTE: Github was disabled git protocol. So only https:// or ssh is valid. | ||
+ | |||
+ | <code bash> | ||
+ | git config --global url.https:// | ||
+ | # or | ||
+ | git config --global url.https:// | ||
</ | </ | ||
Line 20: | Line 31: | ||
====== Usage ====== | ====== Usage ====== | ||
+ | |||
+ | ==== fetch moved tags ==== | ||
+ | <code bash>git fetch origin --tags --force</ | ||
==== Undo a commit ==== | ==== Undo a commit ==== |