ssh - unable to share codes using git -
ssh - unable to share codes using git -
i'm real real tired on git error. step i'm wrong here
my friend create repository in bitbucket.org , name test he force codes repository git force , both see codes online i clone on project via git clone /myfriend/url/path/test.git i codes, initialize git repository , start work on it i decided force on bitbucket add together remote url git remote set-url origin /myfriend/url/path/test.git, but, when push, got ugly error, please create sure have access right. step wrong here?i have set ssh key in bitbucket , have set repository public, not private , in access management, friend has added name admin also. i'm wrong guys. help please.
i clone on project via git clone /myfriend/url/path/test.git
from there, should not initialize git repo. should cd
test/
(created git clone
) , start working on it.
if git status
without having changed directory test/
, error message "this isn't git repo" (because didn't go 1 cloned)
in repo, git remote -v
should display 1 remote origin
you can add together sec remote:
git remote add together bitbucket https://accountname@bitbucket.org/accountname/reponame
(use https @ first, bitbucket user account)
and can force bitbucket:
git force bitbucket master
the op ephraim swilla confirms in comments url error:
i used add together remote url point username instead of friend username have cloned, eg:
git remote add together /bitbucket/:myusername/project.git
git ssh repository bitbucket
Comments
Post a Comment