If i hava a repo that i dont want to push out in the wild, Can i prevent it from pushin into the internet?
If your repository is hosted using bitbucket you can simply go to the setting page on bitbucket website and put it as private repository.
You can check from the shell your upstreams:
git remote -v
the output will be something like:
origin https://user@bitbucket.org/user/demo.git/wiki (fetch) origin https://user@bitbucket.org/user/demo.git/wiki (push)
So it will be:
git remote rm origin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
or you can simply copy your project in a new folder and "git init". That project will be just local until you add a new upstream. With this method you will lose the previous commit history.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.