lehrkraefte:blc:informatik:ffprg2-2021:l4

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
lehrkraefte:blc:informatik:ffprg2-2021:l4 [2021/09/08 11:12]
Ivo Blöchliger
lehrkraefte:blc:informatik:ffprg2-2021:l4 [2021/09/20 13:51]
Ivo Blöchliger
Line 1: Line 1:
 ====== git ====== ====== git ======
   * {{lehrkraefte:blc:informatik:ffprg2-2021:git-intro.pdf}}   * {{lehrkraefte:blc:informatik:ffprg2-2021:git-intro.pdf}}
 +  * Super Erklärung von ''git pull'' und Konsorzen, mit Katzen: https://girliemac.com/blog/2017/12/26/git-purr/
 === Einführungen / Tutorials === === Einführungen / Tutorials ===
   * Hinweis: git braucht eine Identität, damit Änderungen nachvollziehbar sind. Sie können hier auch ein Pseudonym verwenden. Solange Sie nur lokal arbeiten (d.h. nichts auf GitHub hochladen), spielt das keine Rolle.   * Hinweis: git braucht eine Identität, damit Änderungen nachvollziehbar sind. Sie können hier auch ein Pseudonym verwenden. Solange Sie nur lokal arbeiten (d.h. nichts auf GitHub hochladen), spielt das keine Rolle.
Line 20: Line 21:
 </code> </code>
   * https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account   * https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
-  * Lokale git config anpassen (weil normalerweise das klonen über https erfolgt):+  * Lokale git config anpassen (wenn das Klonen über https erfolgt):
 <code bash> <code bash>
 git remote remove origin git remote remove origin
Line 26: Line 27:
 git pull git pull
 </code> </code>
 +  * Sonst in Zukunft gleich mit git@github.com:... klonen, dann muss das nicht mehr eingestellt werden.
   * Der Fingerprint vom Server muss noch akzeptiert werden (und eigentlich überprüft werden, siehe https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints)   * Der Fingerprint vom Server muss noch akzeptiert werden (und eigentlich überprüft werden, siehe https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints)
  
  
  • lehrkraefte/blc/informatik/ffprg2-2021/l4.txt
  • Last modified: 2021/09/20 13:51
  • by Ivo Blöchliger