سؤال

I use git to work with assembla in my Mac. I can pull from remote branch successfully but cannot push to it.

[13:59:36]  $ git pull origin master
From git.assembla.com:something
 * branch            master     -> FETCH_HEAD
Already up-to-date.
[14:00:00]  $ git push origin master
E, [2014-03-17T19:00:14.572139 #4924] ERROR -- : permission denied
fatal: Could not read from remote repository.

Does anybody know what's wrong with it?

هل كانت مفيدة؟

المحلول

You have read permissions to that repository, but can't write to it. Contact the repo's owners.

Meanwhile, you can just work on your own fork, as git is a distributed VCS that lets you do neat things like that.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top