You are not logged in.

#1 2013-09-13 20:17:28

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Remote Git

Hello, not sure if this is the correct forum.

I have on a remote computer source code which is managed through Git.

I can ssh into to it and manage the source code pretty easily, but I find that awkward, and would like to do everything but compiling locally.

I doubt I will have much trouble mounting the source code locally using ssh. So I will be able to manage the source code using an IDE no problem.

How do I manage Git though? I don't want to create a local repository, I want to use the remote one. But, I also would like to use visual tools to show the differences, and commit changes, and things like that. Any recommendations?

Offline

#2 2013-09-13 20:21:53

Active Build
Member
Registered: 2013-09-04
Posts: 12

Offline

#3 2013-09-13 21:55:27

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Remote Git

Not quite what I want. I want the git repo initialized on the remote location, but I want to use visual tools on the local one (if that is somehow possible).

Offline

#4 2013-09-13 21:59:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: Remote Git

sshfs?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-09-13 22:34:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Remote Git

Why don't you want a local version of the repo?

If you don't you could always just delete the local repo after you are done working on it and have pushed any changes.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-09-13 22:49:20

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Remote Git

I don't want a local repo, because the remote is local only, and I don't want to push commits to it.

ssfhs is what I am planning to use to mount the files directory locally.

Offline

#7 2013-09-14 10:47:35

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Remote Git

*vitali* wrote:

I don't want a local repo, because the remote is local only, and I don't want to push commits to it.

Why?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2013-09-15 02:57:11

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Remote Git

Because I would need to make sure both the repos are synced. If I create a change over ssh and commit it, I would need to locally sync to get that change, and if I changed something locally I would need to push changes to remote, even though the files are already synced.
Seems like a dirty solution to me.

Offline

#9 2013-09-15 13:09:33

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Remote Git

Sounds like you want svn instead of git >_>


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2013-09-16 03:25:44

KingYes
Member
From: Israel
Registered: 2011-05-08
Posts: 120
Website

Re: Remote Git


Web Developer.

Offline

Board footer

Powered by FluxBB