Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pycharm -- how can I push a local project to a remote organization repo?

Tags:

github

pycharm

I can push to my personal github account, but I am trying to push to an organization repo. How can I configure Pycharm to use an organization repo instead of a personal one? Thanks.

like image 760
user3058197 Avatar asked Jun 27 '14 01:06

user3058197


People also ask

How do I push a local project to remote repo?

Push a new Git branch to a remote repo Clone the remote Git repo locally. Create a new branch with the branch, switch or checkout commands. Perform a git push with the –set-upstream option to set the remote repo for the new branch. Continue to perform Git commits locally on the new branch.


1 Answers

This worked for me.

  1. close PyCharm
  2. open a terminal in or from terminal navigate to the local project directory.
  3. run your version of: git remote add origin https://github.com/<organization>/<project>.git
  4. open PyChram and push project: "VCS"->'git'->'push'
like image 181
Jay42 Avatar answered Oct 18 '22 06:10

Jay42