Jump to content


How to push a local server up to a shared server

dvcs

  • Please log in to reply
2 replies to this topic

#1 AhiyaHiya

AhiyaHiya

    Member

  • Members
  • PipPip
  • 26 posts

Posted 04 May 2017 - 02:42 PM

I have a few projects which are versioned with p4 dvcs on my local development machine.

On occasion, I feel that the project was worth having on my server, but I'm unsure what is the proper way of handling this.

In git, when you create a local git instance, then later want to push that up to a bitbucket or GitHub server, all you have to do is define the remote origin server then invoke "git push".

How do I get the same result with p4?

#2 Robert Cowham

Robert Cowham

    Advanced Member

  • PCP
  • 266 posts
  • LocationLondon, UK

Posted 04 May 2017 - 03:16 PM

use "p4 remote" and then "p4 push" - blatant stealing of command names (if with a p4 syntax!)

https://www.perforce...tes.create.html

https://www.perforce...r.fetching.html
Co-Author of "Learning Perforce SCM", PACKT Publishing, 25 September 2013, ISBN 9781849687645

"It's wonderful to see a new book about Perforce, especially one written by Robert Cowham and Neal Firth. No one can teach Perforce better than these seasoned subject matter experts"
  • Laura Wingerd, author of Practical Perforce, former VP of Product Technology at Perforce

#3 P4Sven

P4Sven

    Advanced Member

  • Staff
  • 32 posts
  • LocationWokingham, UK

Posted 04 May 2017 - 03:25 PM

Here is a blog article on that topic:

https://www.perforce...x-dvcs-push-pro

Cheers,

Sven Erik

--

Sven Erik Knop | Principal Solutions Engineer
Perforce Software<http://www.perforce.com>
T: +44 1189 771020<tel:+441189771020> | M: +44 7974 351514<tel:+447974351514>
Visit us on: Twitter<https://twitter.com/perforce> | LinkedIn<https://www.linkedin...force-software> | Facebook<https://www.facebook.com/Perforce>



On 4 May 2017, at 16:20, Robert Cowham <perforce-user-forum@forums.perforce.com<mailto:perforce-user-forum@forums.perforce.com>> wrote:

Posted on behalf of forum user 'Robert Cowham'.

use "p4 remote" and then "p4 push" - blatant stealing of
command names (if with a p4 syntax!)

https://www.perforce...tes.create.html

https://www.perforce...r.fetching.html



--
Please click here to see the post in its original format:
http://forums.perfor...a-shared-server
_______________________________________________
perforce-user mailing list  -  perforce-user@perforce.com
http://maillist.perf...o/perforce-user

_______________________________________________
perforce-user mailing list  -  perforce-user@perforce.com
http://maillist.perf...o/perforce-user






Also tagged with one or more of these keywords: dvcs

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users