Hello ,
Does STASH web UI provides us an option to -
1) Create branches
2) Create Tags
3) Undo Commits
If not is there a paln to incorporate these features to Stash
Regards,
Mohan
Hi Mohan,
Unfortunately Stash does not yet have a way to do anything of those things. That might actually make a nifty little plugin. As far as I'm aware there isn't a immediate plan to introduce that into Stash, although you're welcome to raise a feature request.
Undoing commits might be a little problematic given that unless it's the tip of branch there could be merge conflicts, which we couldn't do much about.
Cheers,
Charles
I guess we cannot view Tags as well in Stash Web GUI ?
If the branch and Tag creation facility is not inbuilt in Stash , How can we achieve this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mohan,
You can certainly view commits/files from a given tag by using the branch selector. Is that what you mean?
Creating branches/tags can be done locally on a cloned repository and then pushed to Stash. eg
git tag my_tag git branch my_branch git push origin my_tag my_branch
Cheers,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Charles .
Where can i find teh branch selector for a given tag ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you're viewing files or commits there is a branch selector up the top-left, where you can select a branch or tag to change the current view.
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Charles , I will try out the stuff as you indicated.
Can we push/merge a branch to another branch using Stash ? I want to avoid the usage of pull requests and additionaly want to attach a commit messages with the push/merge operation.
Thanks again for all the help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohan,
You can certainly do that. In Git you have to think of branches more as pointers or named references than a heavy 'branch. So creating a branch on another branch is as simple as "attaching" another pointer.
I recommend reading GitPro for more information about how Git works. I've found it helps make using Git a much more enjoyable experience.
Cheers,
Charles
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.