How do I save software versioning with GIT?

Asked

Viewed 164 times

1

I did the project, ta all the versioning in GIT, but how can I make a kind of backup of that data?

Why let’s assume I format the PC, saved the project but lost the versioning done.

I searched and they told me to just save the invisible folder .git also, but there are no other ways to save project versioning?

  • yes, versioning is saved in the folder .git. You can save it in many ways, they all involve making a copy.

2 answers

2

You can use the https://bitbucket.org/ to keep your "Backup" of your source codes.

Just create a repository and commit there!

In Bitbucket you have all the necessary instructions.

I hope I’ve helped!

2


For backup you only compress the entire repository folder, not just the . git, then you can restore, or unzip the backup, and quit using. You can also put it in Dropbox, if you have a folder synced to the service, you automatically get the backup. But the best way is to have a remote repository. And for that you can make use of services like:

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

git push origin master

Browser other questions tagged

You are not signed in. Login or sign up in order to post.