Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6472959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:24:30+00:00 2026-05-25T06:24:30+00:00

On a server that I’m working, I find that I have Git support. Tired

  • 0

On a server that I’m working, I find that I have Git support. Tired by going with PuTTY to do each commit, I’ll like to clone that repository to my machine and push back only when I’ve done my local work.

how can I find the name of that git repository? On that Linux server I’m a user which has access with FTP and SSH. My web application is public available on the address http://linux_server_IP_address/~linux_user.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:24:31+00:00Added an answer on May 25, 2026 at 6:24 am

    You want to know the path to your repository, not the name.

    Assuming that your repository is stored under $HOME/myrepo, you could clone it that way:

    git clone http://linux_server_ip/~linux_user/myrepo
    

    But cloning via HTTP, you cannot push back changes to the server, so better use the SSH protocol:

    git clone ssh://linux_user@linux_server_ip/myrepo
    

    See the man page of git clone for more information about the different protocols.

    Note that you won’t be able to push directly to myrepo since it’s not a bare repository. To push to master on myrepo, master must not be checked out on myrepo. To achieve this, go to myrepo, create a temporary branch (git checkout -b nocommit), then git push origin master:master and then git checkout master again.

    The topic of pushing into a non-bare repository has been discussed several times here:

    • How to push to a non-bare Git repository?
    • Git: making pushes to non-bare repositories safe
    • cannot push into git repository
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# server that accepts multiple clients, and multiple messages from each
I have a php server that is running my domain name. For testing purposes
I have a server that sends data via a socket, the data is a
I have a backup server that automatically backs up my live site, both files
I have an HTTP server that returns large bodies in response to POST requests
I have a web server that runs my web application. If I want to
I have a server that hosts my Subversion code base. That server is currently
I have a remote server that hosts my subversion repository on a non-standard ssh
I have a server that listens for a connection on a socket: public class
I have an ubuntu server that i have some scripts that need to run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.