How to save software versioning with GIT?

1

I made the project, it's all the versioning in the GIT , however how can I make a kind of backup of this data?

Why do we assume that I format the PC, saved the project but lost the versioning done.

I researched and said to save the invisible folder .git too, but are there no other ways to save the versioning of the project?

    
asked by anonymous 08.04.2016 / 22:36

2 answers

2

For backup it is only you to compress the entire repository folder, not just the .git, from there just restore, or unzip the backup, and exit using. You can also put it in Dropbox, if you have a folder synchronized with the service, will automatically have the backup. But the best way is for you to have a remote repository. And for this you can make use of services like:

They have free hosting options from the repository, just send the code through the command line:

git push origin master
    
09.04.2016 / 23:22
2

You can use link to keep your "backup" of your source code.

Just create a repository and commit there!

Bitbucket has all the necessary instructions.

I hope I have helped!

    
08.04.2016 / 22:40