Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 191540 - provide remote init
provide remote init
Status: NEW
Product: versioncontrol
Classification: Unclassified
Component: Git
7.0
PC Mac OS X
: P3 with 2 votes (vote)
: TBD
Assigned To: Ondrej Vrabec
issues@versioncontrol
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-01 20:00 UTC by Tomas Stupka
Modified: 2013-12-04 13:26 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2010-11-01 20:00:49 UTC
taken from mail at git@versioncontrol.netbeans.org

It should be possible to create a new *remote* repo from inside NetBeans.

The way I currently do this is to create a new local project, then
open the msysgit prompt and run:
- git init
- ssh servername git init --bare serverpath
- git remote add origin servername:serverpath
- git add
- git commit
- git push

I do it this way because:
1. I would rather have a canonical location for all my projects (I use
my own server, but it could just as well be github, etc)
2. I can't log in to the server and do a pull from my workstation due
to firewall issues
3. Creating an empty repo on the server manually before creating the
local project and then doing a git pull seems backwards
Comment 1 svierkant 2013-07-03 11:44:22 UTC
+1

I would like to have Bitbucket as primary location for my repo.
Comment 2 Ondrej Vrabec 2013-09-02 11:57:02 UTC
i think it's possible even now (7.4)
- git init
- git add
- git commit
- Git -> Remote -> Push
the wizard allows you to persist the settings into a new remote, so you can easily setup origin during pushing.

Nevertheless we're missing a general "edit remotes" action


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo