switchon@lavalamp.biz
+27(0) 83 419 4851 / +27(0) 21 036 1165
Application & software development
Get A Quote

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact
    whats new in tech
    What’s New In Tech?
    Jun 25, 2021
    laravel livewire
    Laravel Livewire
    Jul 5, 2021

    How To Setup Git-ftp For Windows

    Categories
    • Deployment
    • Git
    • Mobile Application Development
    • Software Development
    • Web Development
    Tags
    • deplyoment
    • file transfer
    • ftp
    • git
    • live
    how to setup git-ftp for windows
    how to setup git-ftp for windows

     

    Why use git-ftp?

    If you use git and you need to upload your changes to an ftp server, git-ftp saves you the troubles of identifying which files you changed and then uploading each individual file. Git-ftp uploads only the files that have changed. Once setup it is simply 1 line to deploy your changes.

     

    How to setup Git-ftp?

     

    1. First you will need to have git installed. You can download git from here. If you have sourcetree or any alternative you will already have git installed.
    2. After installing note where your git was installed as you will have to use it in the steps below.
    3. Go to your start menu and search Git Bash, right click and select run as administrator.
      • Then enter the below command, this is to check which git file we need to install git-ftp:
        • which git
      • If the response is /bin/git then follow the below steps:
        • Then type the following commands by pressing enter after each line.
      • If the response is /mingw64/bin/git then change the commands to the following:
      • Now Git-ftp is installed and ready to be configured.

     

    Configuring Git-ftp

     

    You will need to have either a local git repository set up or a remote git or bitbucket repository.

    How to create a local repository?

     

    1. Hold in the windows key and press r, then type in CMD and press enter to open Command Prompt.
    2. Got to the directory your project is saved under by typing ‘cd’ and then the directory (eg. cd C:\Users\Rayne Eden Logan\Documents\myproject )
    3. Then type git init and press enter. This will create a .git hidden folder in your project folder.

     

    Saving of ftp credentials:

     

    1. In your Command Prompt navigate to your project folder (as in the above steps 1 and 2) and type the below commands pressing enter after each line:
      • Where ftp_host, username and password must be replaces with your ftp credentials

     

    Using Git-ftp

     

    If it is the first time you are running git-ftp then run the below commands:

     

     

    After the first time your will then have to run the below commands:

     

     

    If you did not save your ftp credentials you can run the below command when pushing your changes:

     

    Happy Coding!

    Contact us


      Related posts:

      how to deploy your app/website on herokuHow To Deploy Your App/Website On Heroku laravel envoyer and forgeProvisioning A New Digital Ocean Server With Laravel Forge, And Deploying Code With Laravel Envoyer kill scriptsA Kill Script For Processes That Are Using TCP/UDP Ports laravel livewireLaravel Livewire
      Share
      49
      Rayne Logan
      Rayne Logan
      Rayne is a web developer with experience in PHP web apps and has an interest in project management and mobile development.

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Lava Lamp Lab


      Like technology, a lava lamp constantly changes form, producing new conditions with every passing moment



      lava lamp lab facebook   lava lamp lab twitter   lava lamp lab linkedin   lava lamp lab instgram

      Services


      Application & software development

      Outsourced software development

      Project based resourcing

      Digital marketing & consulting

      Graphic design & consulting

      UI / UX design & consulting

      Contact Us


      +27(0) 83 419 4851

      +27(0) 21 036 1165


      switchon@lavalamp.biz


      Unit 4 Monaco Square,
      14 Church Street,
      Durbanville,
      Cape Town, 7550

      NBConsult Group


      nbconsult
      nbconnect msp
      nbclearning
      river broadband
      designer needed
      © 2023 Lava Lamp Lab (Pty) Ltd | All Rights Reserved | Privacy Policy
      Contact us now

        Application & software development

          Outsourced software development

            Project based resourcing

              Digital marketing & consulting

                Graphic design & consulting

                  UI/UX design & consulting

                    Lease an expert

                      Recruitment services

                        We are using cookies to give you the best experience on our website.

                        You can find out more about which cookies we are using or switch them off in settings.

                        Lava Lamp Lab
                        Powered by  GDPR Cookie Compliance
                        Privacy Overview

                        This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

                        Strictly Necessary Cookies

                        Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

                        If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

                        3rd Party Cookies

                        This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

                        Keeping this cookie enabled helps us to improve our website.

                        Please enable Strictly Necessary Cookies first so that we can save your preferences!

                        Cookie Policy

                        More information about our Cookie Policy