You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
The push step is well covered by _examples/push/main.go. The harder part here is creating the new branch.
Currently the API is a little awkward for creating new references in a Repository. This affects creating branches and lightweight tags. #430 has an example for creating lightweight tags.
We would probably benefit from some CreateBranch and/or CreateTag methods in Repository.
Hi,
Can you please write an example on how to create branch from an existing branch in a remote repository?
git checkout -b release develop
git push origin release
Thanks a lot
The text was updated successfully, but these errors were encountered: