Answer the question
In order to leave comments, you need to log in
How to add a GitHub repository to an existing Bitrix hosted project?
There is a hosting with a working site on 1C-Bitrix. You need to start using git. Created a private repository on GitHub. Added .gitignore file and that's it. Just copying the .git folder to the hosting will not help, I think. How to work in general? You need a terminal/command line, but where can I get it. To edit files, I use WinSCP (I connect via ftp, open the desired file in my favorite editor and edit it, then save it).
Answer the question
In order to leave comments, you need to log in
Read more about git, how it works and why you need it. In short, you must:
1. Add the files to the repository on your computer and commit. When creating a repository in the github, detailed instructions are given on how to do this:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question