diff options
author | Colin Adler | 2020-05-19 22:13:37 -0500 |
---|---|---|
committer | Colin Adler | 2020-05-19 22:13:37 -0500 |
commit | 069e0a85cd3c2f13bb5bdb00a498813094f786a8 (patch) | |
tree | 30e84877761d2027430dfd1ce0a3d7c4fcedf7f6 /README.md | |
parent | ee50209c02b4a9094aeffa91487b09676e2bade8 (diff) | |
download | aur-069e0a85cd3c2f13bb5bdb00a498813094f786a8.tar.gz |
Document AUR remote
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md index 0fb23afd26f5..416f54bc746d 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,17 @@ This is the file that is used by the AUR to show package info. makepkg --printsrcinfo > .SRCINFO ``` -Then, just push to the AUR git repo. +Then, just push to the AUR git repo. You'll have to maintain two remotes in +your `.git/config`. Mine is setup as so + +``` +[remote "origin"] + url = git@github.com:/cdr/code-server-aur.git + fetch = +refs/heads/*:refs/remotes/origin/* +[remote "aur"] + url = ssh://aur@aur.archlinux.org/code-server.git + fetch = +refs/heads/*:refs/remotes/aur/* +``` + +Then it's as simple as `git push` to push to GitHub and `git push aur` to +update the AUR. |