meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
git:start [2020/04/14 12:59] niziakgit:start [2023/05/30 10:26] niziak
Line 8: Line 8:
 git config sendemail.signedoffcc false git config sendemail.signedoffcc false
 git config sendemail.suppressfrom true git config sendemail.suppressfrom true
 +</code>
 +
 +=== replace github's git:// links
 +NOTE: Github was disabled git protocol. So only https:// or ssh is valid.
 +
 +<code bash>
 +git config --global url.https://github.com/daurnimator/lua-systemd.insteadOf git://github.com/daurnimator/lua-systemd
 +# or
 +git config --global url.https://.insteadOf git://
 </code> </code>
  
Line 22: Line 31:
  
 ====== Usage ====== ====== Usage ======
 +
 +==== fetch moved tags ====
 +<code bash>git fetch origin --tags --force</code>
  
 ==== Undo a commit ==== ==== Undo a commit ====