Git clone on already existing Magento installationMagento connected to gitMagento 2- code-migration installation using gitCode Generation and Local Development Workflow in Magento 2Managing M2 projects with GIT (workflow)Magento 2 Custom Theme .gitignoreMagento2 - local / staging / production deployment & gitignoreMagento 2 Version Update Dilemma (Cloned from Git Repo)Clone Magento 2 respository from git causing installing new project not loading existingMoving Magento 2 to local system perform extremely slowMagento 2 and git, best practice for custom module development

In the Schrödinger equation, can I have a Hamiltonian without a kinetic term?

Help me, I hate squares!

Word for giving preference to the oldest child

Would people understand me speaking German all over Europe?

What is the range of a Drunken Monk's Redirect attack?

How do I respond appropriately to an overseas company that obtained a visa for me without hiring me?

Move arrows along a contour

What parameters are to be considered when choosing a MOSFET?

Why is the Searing Smite spell not listed in the Roll20 spell list?

How did Biff return to 2015 from 1955 without a lightning strike?

How to remove rebar passing through an inaccessible pipe

Why would an invisible personal shield be necessary?

What are these hats and the function of those wearing them? worn by the Russian imperial army at Borodino

Why does macOS create file mounts for each app?

Word for soundtrack music which is part of the action of the movie

My employer is refusing to give me the pay that was advertised after an internal job move

Was Donald Trump at ground zero helping out on 9-11?

How do discovery writers hibernate?

How can a class have multiple methods without breaking the single responsibility principle

How to structure presentation to avoid getting questions that will be answered later in the presentation?

Can living where Rare Earth magnetic ore is abundant provide any protection from cosmic radiation?

Adding a (stair/baby) gate without facing walls

What kind of horizontal stabilizer does a Boeing 737 have?

How can flights operated by the same company have such different prices when marketed by another?



Git clone on already existing Magento installation


Magento connected to gitMagento 2- code-migration installation using gitCode Generation and Local Development Workflow in Magento 2Managing M2 projects with GIT (workflow)Magento 2 Custom Theme .gitignoreMagento2 - local / staging / production deployment & gitignoreMagento 2 Version Update Dilemma (Cloned from Git Repo)Clone Magento 2 respository from git causing installing new project not loading existingMoving Magento 2 to local system perform extremely slowMagento 2 and git, best practice for custom module development






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am developing an e-shop with Magento 2.1.x. I am using git as version control and the .gitignore file shipped with the installation of Magento 2.
Now, a colleague of mine, will join the project to help developing some parts of it.



I thought that the best practice would be to install a local copy of Magento on its computer and then make a git clone to download the custom parts. Is that the correct flow? I do like this I get a lot of untracked files..










share|improve this question






























    0















    I am developing an e-shop with Magento 2.1.x. I am using git as version control and the .gitignore file shipped with the installation of Magento 2.
    Now, a colleague of mine, will join the project to help developing some parts of it.



    I thought that the best practice would be to install a local copy of Magento on its computer and then make a git clone to download the custom parts. Is that the correct flow? I do like this I get a lot of untracked files..










    share|improve this question


























      0












      0








      0








      I am developing an e-shop with Magento 2.1.x. I am using git as version control and the .gitignore file shipped with the installation of Magento 2.
      Now, a colleague of mine, will join the project to help developing some parts of it.



      I thought that the best practice would be to install a local copy of Magento on its computer and then make a git clone to download the custom parts. Is that the correct flow? I do like this I get a lot of untracked files..










      share|improve this question














      I am developing an e-shop with Magento 2.1.x. I am using git as version control and the .gitignore file shipped with the installation of Magento 2.
      Now, a colleague of mine, will join the project to help developing some parts of it.



      I thought that the best practice would be to install a local copy of Magento on its computer and then make a git clone to download the custom parts. Is that the correct flow? I do like this I get a lot of untracked files..







      magento-2.1 git






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 19 '17 at 6:55









      gianis6gianis6

      74014 silver badges36 bronze badges




      74014 silver badges36 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          0














          You can do this in two different method.



          1. Clone from your existing repository:



          Before cloning you have to check what are files are not included in .gitignore file. If you want to clone the <magento_root_dir>/vendor files you can remove from .gitignore and automatically it will be cloned to the local directory. Otherwise if you want to exclude the <magento_root_dir>/vendor files, add to .gitignore and obviously you should run the composer install command after doing this. After that you can able to push the changes to the cloud every time when you need.



          2. Fork into new repository:



          You can create new repository and fork from the existing repository. Then clone the files from newly forked repository as mentioned above. Your colleague can able to push the change to the new repository and from there he/she need to send the merge request and finally you can merge the files. So without your knowledge nobody can able to push the files directly.






          share|improve this answer
































            0














            since Magento uses composer you git clone the project to you local folder and the run from the command line in the root folder



            composer install


            After the remaining files are installed you run:



            php bin/magento setup:upgrade
            php bin/magento setup:di:compile
            php bin/magento setup:static-content:deploy





            share|improve this answer





























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f189748%2fgit-clone-on-already-existing-magento-installation%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              You can do this in two different method.



              1. Clone from your existing repository:



              Before cloning you have to check what are files are not included in .gitignore file. If you want to clone the <magento_root_dir>/vendor files you can remove from .gitignore and automatically it will be cloned to the local directory. Otherwise if you want to exclude the <magento_root_dir>/vendor files, add to .gitignore and obviously you should run the composer install command after doing this. After that you can able to push the changes to the cloud every time when you need.



              2. Fork into new repository:



              You can create new repository and fork from the existing repository. Then clone the files from newly forked repository as mentioned above. Your colleague can able to push the change to the new repository and from there he/she need to send the merge request and finally you can merge the files. So without your knowledge nobody can able to push the files directly.






              share|improve this answer





























                0














                You can do this in two different method.



                1. Clone from your existing repository:



                Before cloning you have to check what are files are not included in .gitignore file. If you want to clone the <magento_root_dir>/vendor files you can remove from .gitignore and automatically it will be cloned to the local directory. Otherwise if you want to exclude the <magento_root_dir>/vendor files, add to .gitignore and obviously you should run the composer install command after doing this. After that you can able to push the changes to the cloud every time when you need.



                2. Fork into new repository:



                You can create new repository and fork from the existing repository. Then clone the files from newly forked repository as mentioned above. Your colleague can able to push the change to the new repository and from there he/she need to send the merge request and finally you can merge the files. So without your knowledge nobody can able to push the files directly.






                share|improve this answer



























                  0












                  0








                  0







                  You can do this in two different method.



                  1. Clone from your existing repository:



                  Before cloning you have to check what are files are not included in .gitignore file. If you want to clone the <magento_root_dir>/vendor files you can remove from .gitignore and automatically it will be cloned to the local directory. Otherwise if you want to exclude the <magento_root_dir>/vendor files, add to .gitignore and obviously you should run the composer install command after doing this. After that you can able to push the changes to the cloud every time when you need.



                  2. Fork into new repository:



                  You can create new repository and fork from the existing repository. Then clone the files from newly forked repository as mentioned above. Your colleague can able to push the change to the new repository and from there he/she need to send the merge request and finally you can merge the files. So without your knowledge nobody can able to push the files directly.






                  share|improve this answer













                  You can do this in two different method.



                  1. Clone from your existing repository:



                  Before cloning you have to check what are files are not included in .gitignore file. If you want to clone the <magento_root_dir>/vendor files you can remove from .gitignore and automatically it will be cloned to the local directory. Otherwise if you want to exclude the <magento_root_dir>/vendor files, add to .gitignore and obviously you should run the composer install command after doing this. After that you can able to push the changes to the cloud every time when you need.



                  2. Fork into new repository:



                  You can create new repository and fork from the existing repository. Then clone the files from newly forked repository as mentioned above. Your colleague can able to push the change to the new repository and from there he/she need to send the merge request and finally you can merge the files. So without your knowledge nobody can able to push the files directly.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 19 '17 at 9:10









                  sabarivenkatesankrishsabarivenkatesankrish

                  3091 silver badge10 bronze badges




                  3091 silver badge10 bronze badges


























                      0














                      since Magento uses composer you git clone the project to you local folder and the run from the command line in the root folder



                      composer install


                      After the remaining files are installed you run:



                      php bin/magento setup:upgrade
                      php bin/magento setup:di:compile
                      php bin/magento setup:static-content:deploy





                      share|improve this answer































                        0














                        since Magento uses composer you git clone the project to you local folder and the run from the command line in the root folder



                        composer install


                        After the remaining files are installed you run:



                        php bin/magento setup:upgrade
                        php bin/magento setup:di:compile
                        php bin/magento setup:static-content:deploy





                        share|improve this answer





























                          0












                          0








                          0







                          since Magento uses composer you git clone the project to you local folder and the run from the command line in the root folder



                          composer install


                          After the remaining files are installed you run:



                          php bin/magento setup:upgrade
                          php bin/magento setup:di:compile
                          php bin/magento setup:static-content:deploy





                          share|improve this answer















                          since Magento uses composer you git clone the project to you local folder and the run from the command line in the root folder



                          composer install


                          After the remaining files are installed you run:



                          php bin/magento setup:upgrade
                          php bin/magento setup:di:compile
                          php bin/magento setup:static-content:deploy






                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Aug 19 '17 at 10:20









                          Raghu

                          1,2731 gold badge5 silver badges22 bronze badges




                          1,2731 gold badge5 silver badges22 bronze badges










                          answered Aug 19 '17 at 8:03









                          Andrea D'UrsoAndrea D'Urso

                          681 silver badge12 bronze badges




                          681 silver badge12 bronze badges






























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f189748%2fgit-clone-on-already-existing-magento-installation%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                              Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                              Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form