[PLDWWW] page changed: howto-git

"Elan Ruusamäe (glen)" glen at pld-linux.org
Thu Nov 29 12:47:07 CET 2012


[Pushing big files] 

--- https://www.pld-linux.org/howto-git?rev=1352017924
+++ https://www.pld-linux.org/howto-git
@@ -151,9 +151,15 @@
  If the file is accessible by url, just add ''# SourceX-md5: '' or ''# PatchX-md5: '' comment to the spec, and the file itself does not need to be added to git index. remove/revert if you already did. If the file is generated locally, you need to upload it to distfiles before pushing.
  
  There's exception if you can't do that (is too hard to do due local modifications), you can add the patch filename into ''.bigfiles'' file. See [[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-October/023210.html|pld-devel-en post]].
  
- 
+ After you found you pushed and was rejected by big file restriction, you can fix it like this (assuming it was only single commit):
+ <code bash>
+ echo 7.3.640 > .bigfiles
+ git add .bigfiles
+ git commit --amend
+ git push origin master
+ </code>
  =====Graphical repository browser=====
  
  Sometimes it is useful to see a graphical representation of all branches. It can obtained with:
  


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


More information about the pld-cvs-commit mailing list