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

  • SEARCH
  • Home
  • 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 8248259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:08:02+00:00 2026-06-07T23:08:02+00:00

I want to push my changes to a folder on a remote server. I

  • 0

I want to push my changes to a folder on a remote server. I can even do a map drive to it.
Wish there was a folder browser (the same as choosing where to create repo) where I can select the server folder I want to push to. Since there isn’t I know I have a syntax error here.

enter image description here

  • 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-06-07T23:08:04+00:00Added an answer on June 7, 2026 at 11:08 pm

    Adding a remote has nothing to do with the physical remote itself. It is only for management of references to remotes themselves.

    That being said, it sounds like you want to use Git to deploy to a server. You can use pushing of a branch to attain this. However, you first must have the remote setup via running this on the server

    git clone --bare //path/to/your/repo /some/dir/on/the/server/.git
    

    Now you must add a hook to this repo to fire every time you push to a branch. Within this hook you would:

    git --git-dir=/some/dir/on/the/server/.git --work-tree=/where/to/deploy/to checkout deployment-branch -- .
    

    You’ll have to google git update hook to get the few lines of code needed to wrap the above line.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Generally whenever i want to push in the changes to remote Git i follow
I pulled a remote branch. I made some changes. I want to push my
Possible Duplicate: How git works when two peers push changes to same remote simultaneously
I want to see a list of all changes the next push would do.
Read about Server push here . I want to push data to client from
The issue is that I can not 'git push' changes from my netbook, to
I'm using Git 1.7.4.1. I want to push commits I did on one folder
I have a repo in which I want to push changes. I want to
I want to push a file from my Java program to an Android emulator.
I have a project that I want to push to a Mercurial repository on

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.