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

user3058197

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.

Christoph Brückmann

This seems not to work, I had the same problem.

This was my workaround:

  1. Create a new github organization repository and name it like your local project
  2. Open PyCharm and checkout the organization project into a directory different from your PyCharm project directory (if your local project with the same name lies there)
  3. Close PyCharm and copy all files and folders from the checked out organization repository into your local project folder
  4. Open your local project in PyCharm and add the .idea folder (with contains your PyCharm IDE project information) to the .gitignore file
  5. Finally commit and push your local project content to your organization repository!
  6. (Don't forget to delete the your former checkout folder)

This works because all git-paths are relative.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How do I push a local Git branch to master branch in the remote?

From Java

How can I push to my fork from a clone of the original repo?

From Java

How do I push a local repo to Bitbucket using SourceTree without creating a repo on bitbucket first?

From Dev

Push local repo to new sub-directory of remote repo

From Dev

Why does Git show my local "pull from remote" when I push my commit to the remote repo?

From Dev

How can I convert all the remote branches in a local git repo into local tracking branches

From Dev

Can't push a git repo on a local server

From Dev

git - How can I tell where a repo will "push" to?

From Dev

How to push a local repo to bitbucket?

From Dev

Push local new Git repo to existing remote repo as branch?

From Dev

Can I push a local repo to two remote repos?

From Dev

How can I ignore big files and push to git repo

From Dev

How can I push the current state of my project, without git history, to a new remote repository?

From Dev

How do I push a new repo to a remote?

From Dev

How do I forcibly ovewrite a local repo with changes from a remote repo while still preserving history?

From Dev

How can I push a git repo to a remote server through ssh?

From Dev

How can I grant access to a remote git repo?

From Dev

Can I add a file to my local Git repo but not push it to remote

From Dev

Push a local branch to a new project on remote

From Dev

How can I push a branch into a separate remote repo?

From Dev

How to push a local repo to bitbucket?

From Dev

How to push a new local repository to old remote repo?

From Dev

How can I push the current state of my project, without git history, to a new remote repository?

From Dev

How do I forcibly ovewrite a local repo with changes from a remote repo while still preserving history?

From Dev

If on a local branch, how should I push that repo to remote from local repo that already exists?

From Dev

How can I push a git repo to a remote server through ssh?

From Dev

unable to push my local git repo to the remote repo

From Dev

fatal: Could not read from remote repository. When I push my local repo to remote server

From Dev

Can't get remote branches to local repo

Related Related

  1. 1

    How do I push a local Git branch to master branch in the remote?

  2. 2

    How can I push to my fork from a clone of the original repo?

  3. 3

    How do I push a local repo to Bitbucket using SourceTree without creating a repo on bitbucket first?

  4. 4

    Push local repo to new sub-directory of remote repo

  5. 5

    Why does Git show my local "pull from remote" when I push my commit to the remote repo?

  6. 6

    How can I convert all the remote branches in a local git repo into local tracking branches

  7. 7

    Can't push a git repo on a local server

  8. 8

    git - How can I tell where a repo will "push" to?

  9. 9

    How to push a local repo to bitbucket?

  10. 10

    Push local new Git repo to existing remote repo as branch?

  11. 11

    Can I push a local repo to two remote repos?

  12. 12

    How can I ignore big files and push to git repo

  13. 13

    How can I push the current state of my project, without git history, to a new remote repository?

  14. 14

    How do I push a new repo to a remote?

  15. 15

    How do I forcibly ovewrite a local repo with changes from a remote repo while still preserving history?

  16. 16

    How can I push a git repo to a remote server through ssh?

  17. 17

    How can I grant access to a remote git repo?

  18. 18

    Can I add a file to my local Git repo but not push it to remote

  19. 19

    Push a local branch to a new project on remote

  20. 20

    How can I push a branch into a separate remote repo?

  21. 21

    How to push a local repo to bitbucket?

  22. 22

    How to push a new local repository to old remote repo?

  23. 23

    How can I push the current state of my project, without git history, to a new remote repository?

  24. 24

    How do I forcibly ovewrite a local repo with changes from a remote repo while still preserving history?

  25. 25

    If on a local branch, how should I push that repo to remote from local repo that already exists?

  26. 26

    How can I push a git repo to a remote server through ssh?

  27. 27

    unable to push my local git repo to the remote repo

  28. 28

    fatal: Could not read from remote repository. When I push my local repo to remote server

  29. 29

    Can't get remote branches to local repo

HotTag

Archive