I'd like to define and manage a remote symbolic-ref. Is there any way to manage symbolic-refs in the remote repository?
For example, I have an internal process/script that I'd like to configure with a single git reference that points to a branch. Behind the scenes I want to be able to change the reference in Bitbucket to point to another branch and thus allowing me to never change the internal process/script.
In my Git environment Symbolic References would make my life much easier, eliminating many manual steps when doing a release.
Just to clarify - what I want is a way to manage symbolic references.
We have several release branches that "roll" (for lack of a better term). For example, lets say that I have 2.0, 2.1, and 2.2 in the works. We would like our build system to be configured once to get "red", "green" and "blue" where these are references to 2.0, 2.1, and 2.2, respectively. At some point we start 2.3, we release, and we want "red", "green", and "blue" to now reference 2.1, 2.2, and 2.3, respectively. We don't want to reconfigure the build system; instead, we just want to change the symbolic references.
Does that make sense? Is there a better way to go about doing this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my Git environment Symbolic References would make my life much easier, eliminating many manual steps when doing a release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't believe this is supported for security reasons.
Take a look here for more details: https://bitbucket.org/site/master/issue/4012/symlinks-are-not-followed-when-encountered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cannot downgrade this answer as I don't have enough karma points.
Any other ideas? As I mentioned I am referring to symbolic references (a la "git symbolic-ref") which is essentially a way of creating an alias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.