Skip to main content

What is the path I should install my Git repository to Git Version Control

Comments

3 comments

  • HostNoc
    You can make any of your local directory as a GIT project (i.e repository). For example, if your project is located under /home/ramesh/projects/passworddragon, you can make that as your GIT project. cd /home/ramesh/projects/passworddragon $ git init Initialized empty Git repository in /home/ramesh/projects/passworddragon/.git/ Regards HostNoc
    0
  • RGFuelCells
    I guess my real question is that I don't know how I'm supposed to use this feature, even coming from a background with Git, cPanel, LAMP and FTP are the things that are new to me. So my question is I have my repository from Git Version Control setup like this: /home/user/my-repo/ So how is my repo supposed to relate to the public_html/ path in my server? Am I supposed to use FTP to upload my entire project to public_html once I have a new commit on the master branch? Or is there a better workflow?
    0
  • cPanelAnthony
    Hello! Could you see if the following guide clears things up? Having everything written out may help. If not, can you let me know what could be improved in this article?
    0

Please sign in to leave a comment.