this post was submitted on 22 Mar 2025
1086 points (94.2% liked)

linuxmemes

24192 readers
1911 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    (page 4) 50 comments
    sorted by: hot top controversial new old
    [–] jaemo@sh.itjust.works 1 points 1 week ago

    Haha I can personally attest to it being slightly more complex than that on Linux, but true for OSX.

    [–] jaybone@lemmy.world 1 points 1 week ago (4 children)

    I’ve been considering rsync

    I need to run git operations from a laptop (on a vpn) but I can’t build from the laptop, I can only build from a host that is only accessible on the vpn.

    So I can only git pull / git push from the laptop, but I can only build / run / test from a remote host.

    Linux on both sides. What’s the best solution here?

    [–] eager_eagle@lemmy.world 1 points 1 week ago (1 children)

    Why can you not run git on the server? If it's a credential thing, you can forward it through the SSH connection.

    [–] jaybone@lemmy.world 1 points 1 week ago

    It authenticates with a yubikey.

    [–] ftbd@feddit.org 1 points 1 week ago

    Yes, rsync is a good choice

    [–] PoolloverNathan@programming.dev 1 points 1 week ago (1 children)

    Detach the laptop's head, then git clone from it over SSH on your build server. When you're done, git push will update your laptop's branches, then you can git push origin the relevant branches on your laptop.

    [–] jaybone@lemmy.world 1 points 1 week ago (1 children)

    I can’t run git operations on the server.

    [–] PoolloverNathan@programming.dev 1 points 1 week ago* (last edited 1 week ago)

    What network topology do you have? My method only assumes server→laptop connectivity (laptop→server and laptop→repo are implied). If server→laptop is unavailable, but you can install Git in general on the server, you could forward the repo through SSH. If Git cannot be installed server-side at all, this is more difficult, and rsync would be the best method I know of.

    load more comments (1 replies)
    load more comments
    view more: ‹ prev next ›