User Tools

Site Tools


userdoc:cgit-meta-data

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
userdoc:cgit-meta-data [2018-04-03 18:49]
mricon
userdoc:cgit-meta-data [2020-05-08 14:02] (current)
mricon
Line 1: Line 1:
 +~~REDIRECT>​https://​korg.docs.kernel.org/​cgit-meta-data.html~~
 +
 ====== Repo appearance on git.kernel.org ====== ====== Repo appearance on git.kernel.org ======
  
Line 9: Line 11:
 <​code>​ <​code>​
 git symbolic-ref HEAD refs/​meta/​cgit git symbolic-ref HEAD refs/​meta/​cgit
-git rm -rf .+git reset --hard
 # add and commit any files you need, see below # add and commit any files you need, see below
-git push origin refs/​meta/​cgit+git push origin ​HEAD:refs/​meta/​cgit
 git checkout master git checkout master
 </​code>​ </​code>​
Line 17: Line 19:
 ===== Editing files in the special ref ===== ===== Editing files in the special ref =====
  
-It is a bit trickier to edit files in the special ref as opposed to a normal branch:+It is a bit trickier to edit files in the special ref as opposed to a normal branch.
  
 <​code>​ <​code>​
-git checkout ​refs/​meta/​cgit +git fetch origin ​refs/​meta/​cgit 
-git symbolic-ref HEAD refs/​meta/​cgit+git checkout FETCH_HEAD
 # make any changes and commit them # make any changes and commit them
-git push origin refs/​meta/​cgit+git push origin ​HEAD:refs/​meta/​cgit
 git checkout master git checkout master
 </​code>​ </​code>​
Line 45: Line 47:
 # repository description # repository description
 desc=Frobble module development desc=Frobble module development
 +# generate tarballs with this prefix instead of repo name
 +# e.g. instead of linux-stable-x.x.x.tar.gz,​ do linux-x.x.x.tar.gz
 +snapshot-prefix=linux
 # Link to the project home page # Link to the project home page
 homepage=https://​frobblemod.io homepage=https://​frobblemod.io
userdoc/cgit-meta-data.1522781346.txt.gz · Last modified: 2018-04-03 18:49 by mricon