I’am planning to create a git in my own server, but I need to know if its possible to create it and backup the final version of all the code to dropbox
This git will be in my own personal server
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, definitely.
Git is a distributed version control system, meaning even local copy is a separate repository. To copy the whole repository (and its content), you only need to copy the main directory (with
.gitdirectory at the top level of it).Try it. Just create some repository, make some changes. Then copy the directory with your code (including
.gitdirectory) somewhere else, make some changes (without pulling / pushing from / to remotes) and check if the history of these two separate copies differs. If yes, you are doing it correctly, because by copying repository’s directory you have just created another repository 🙂