EngineeringProductivity/HowTo/MirrorRepo: Difference between revisions

Jump to navigation Jump to search
→‎Steps: use canonical location of mozilla/master
(→‎Background: point link at project page, not repository page)
(→‎Steps: use canonical location of mozilla/master)
Line 17: Line 17:
# Create a git tag called 'mozilla-central' on your commit, you'll need to delete the old 'mozilla-central' tag. This way, the changeset tagged 'mozilla-central' will always keep track of the current state of mozbase in m-c:
# Create a git tag called 'mozilla-central' on your commit, you'll need to delete the old 'mozilla-central' tag. This way, the changeset tagged 'mozilla-central' will always keep track of the current state of mozbase in m-c:
<pre>
<pre>
git pull --tags git@github.com:mozilla/mozbase.git master
git tag -d mozilla-central
git tag -d mozilla-central
git tag -a -m "mirrored to m-c" mozilla-central <git changeset of latest commit in m-c>
git tag -a -m "mirrored to m-c" mozilla-central <git changeset of latest commit in m-c>
git push --tags origin master
git push --tags git@github.com:mozilla/mozbase.git master
</pre>
</pre>


947

edits

Navigation menu