1

I don't know why I have no new revision, what I do: I change my code locally, then:

git add -A
git commit -m "bla"
git push -u origin 7.x-1.x

Result:

A new commit is shown in my sandbox repository on drupal.org. But I need a new revision too! I'm new to git, so can anybody explain what I misunderstand?

1

Sandboxes on Drupal.org can't have releases (tagged revisions).

For a full project, if you want to push a specific release/revision, rather than just a SHA-identified commit, you create a tag locally before you push a tagged release.

git commit -am "Revision 7.x-1.0"
git tag 7.x-1.0
git push origin tag 7.x-1.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.