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

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

                              Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                              Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?