[PLDWWW] page changed: howto-git

"Elan Ruusamäe (glen)" glen at pld-linux.org
Mon Oct 27 06:14:45 CET 2014


[Set your configuration] github push under your uid

--- https://www.pld-linux.org/howto-git?rev=1412245751
+++ https://www.pld-linux.org/howto-git?rev=1414386885
@@ -23,20 +23,26 @@
  git config --global user.name "Your Name"
  git config --global user.email <email>
  </code>
  
- One can do it per package too in each ''./.git/config'' file:
-   [user]
-         email = <your_login>@pld-linux.org
-         name = Your Name
+ One can do it per package too in each ''./.git/config'' file: <file ini>
+ [user]
+     email = <your_login>@pld-linux.org
+     name = Your Name
+ </file>
  but as for now one needs to set it in each package fetched.
  
  If you have an RW access to PLD Linux repositories please use
- your PLD Linux alias <your_login>@pld-linux.org> as email.
+ your PLD Linux alias ''<your_login>@pld-linux.org>'' as email.
+ 
+ If you have github account and wish github mirror being updated with your credentials (referencing github resources, closing pull request), you may wish to setup SSH Agent forwarding so that github sync is performed with your credentials. You need to have same key or github key in ssh agent. Such ''~/.ssh/config'' will enable SSH agent forwarding when pushing: <file - ~/.ssh/config>
+ Host git.pld-linux.org
+     ForwardAgent    yes
+ </file>
  
  Additionally some useful git config:
  
- Enable colored difs ([[http://live.gnome.org/Git/Developers|reference]]) <code>
+ Enable colored diffs ([[http://live.gnome.org/Git/Developers|reference]]) <code>
  git config --global color.ui auto
  </code>
  
  Add ''git st'' and some other aliases ([[https://git.wiki.kernel.org/index.php/Aliases|reference]]) <code>
@@ -45,9 +51,9 @@
  git config --global alias.up pull --rebase
  git config --global alias.ssh '!ssh git at git.pld-linux.org'
  </code>
  
- when pushing in git-core-1.8.0 ([[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-October/023231.html|reference]])
+ when pushing in git-core >= 1.8.0 ([[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-October/023231.html|reference]])
  <code>
  git config --global push.default simple
  </code>
  


Diff URL:
  https://www.pld-linux.org/howto-git?do=diff&r1=1412245751&r2=1414386885
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list