I created a Bitbucket snippet and cloned it in my existing project. I made some changes to that file and now I want to push the changes to snippet using git. How can I do this from a command line?
Snippets are built on Git/Mercurial hence you can use Git command for commit and push the changes.
but You cannot push branches for your snippet. Once you've cloned the snippet to your local system you can use branching locally but must always merge into master before pushing changes. Trying to push a branch other than master will fail.
when i try to push using git commands it goes to my main repo of project and not to the snippet
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.