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 revision Previous revision
Next revision
Previous revision
git:start [2020/04/14 12:59]
niziak
git:start [2023/05/30 10:29] (current)
niziak
Line 9: Line 9:
 git config sendemail.suppressfrom true git config sendemail.suppressfrom true
 </​code>​ </​code>​
 +
 +=== replace github'​s git: links ===
 +NOTE: Github was disabled git protocol. So only ''​https:''​ or ssh ''​git@''​ 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>​
 +
 +Keywords: git protocol, ''​git:''​ protocol
  
 === replace github https links === === replace github https links ===
Line 22: Line 33:
  
 ====== Usage ====== ====== Usage ======
 +
 +==== fetch moved tags ====
 +<code bash>git fetch origin --tags --force</​code>​
  
 ==== Undo a commit ==== ==== Undo a commit ====