Setup remote GIT repository via SSH? (No code access to the remote location)

I have a remote location I want to use as GIT repository. I have SSH access to that location and can copy files there. I can’t install or run the GIT executables on the remote location. Can I (and how) use it as the GIT repository for my team?

  • Git marks entire file as conflicted when merging master into branch
  • Grant side developers a partial access to a git repo
  • Accurate git commits
  • Use Cygwin Git+SSH with Visual Studio
  • Extract the tree sha1 from a git commit
  • How to automatically change Eclipse build path when I check out Git branches
  • Using IntelliJ IDEA ignoring unversioned files aren't added to .gitignore
  • git-stash changes without reverting
  • Can I use CodeStar's deployment infrastructure with an existing CodeCommit repo?
  • Automatically mirroring a GitHub repo
  • gitolite-admin clone issue
  • how to resolve this ERROR running one or more of the platform when i am runnning “ionic run android --device”
  • 2 Solutions collect form web for “Setup remote GIT repository via SSH? (No code access to the remote location)”

    That is impossible to implement. A Git repository requires a server-side Git suite.

    On the other hand, if it’s possible to provide an NFS or CIFS share, you could keep a Git repository on such a share — it would be acted upon by your local Git instance. Not that I like this approach though…

    I have a similar problem. I found a palliative solution:

    • Use SSHFS and Fuse to mount the remote location through ssh as a network drive;
    • The people having direct read/write access (me) clone the git repository with its local path;
    • Other people clone the repo with an http access.

    It’s not very efficient but it works.

    Git Baby is a git and github fan, let's start git clone.