User Tools

Site Tools


howto-git

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
Next revision Both sides next revision
howto-git [2012-11-29 12:47]
glen [Pushing big files]
howto-git [2013-11-04 08:43]
glen [Download package]
Line 17: Line 17:
   cd ~/​rpm/​packages/​   cd ~/​rpm/​packages/​
   ./builder -v -bp python-msgpack   ./builder -v -bp python-msgpack
-=====Set your configuration====+===== Set your configuration ====
  
 Your identity (NOTE: This sets globally): Your identity (NOTE: This sets globally):
Line 46: Line 46:
 </​code>​ </​code>​
  
 +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>​
  
 =====Download package===== =====Download package=====
Line 55: Line 59:
  
    ​slug.py clone <​package>​    ​slug.py clone <​package>​
-   ​cd ​~/​PLD_clone/​packages/<​package> ​ # FIXME: Is it ~/​rpm/​packages/<​package> ​in newer vesions ?+   cd ~/​rpm/​packages/<​package>​
  
  
Line 73: Line 77:
 usually called ''​origin/​master''​. Clone, besides other things, ​ creates a local usually called ''​origin/​master''​. Clone, besides other things, ​ creates a local
 ''​master''​ branch that tracks remote origin/​master branch. ''​master''​ branch that tracks remote origin/​master branch.
- 
 =====Commit your changes===== =====Commit your changes=====
 First you put your changes in a staging area - the index: First you put your changes in a staging area - the index:
howto-git.txt ยท Last modified: 2016-03-21 10:36 by glen