How to backup your linux dot files using Git
As you may or may not know that I love working on a Linux OS and I also love working with Git so why not use them both in a blog post??
What can I do with Linux and Git that I have not seen anywhere else?
I got it! How about how to backup your Linux dot files like “.bash_profile” using Git and putting them on github so If I move to a new Linux workstation I can just do a pull of all my files..
Clone My Project to Start
so the first thing we are going to do is to clone my dot files project and move them into a folder called dotfiles
No after you do that you should copy all your dot files into the same folder
No lets change the file rights and run the scripte
Now you need to go into github or bitbucket and create a new repository, once you created one on the server you then use the following commands to setup your local repository and push it to the server
No you have a backup of all your dot linux files and you can all ways update your backup.
If you have any questions or comments please email me at firstname.lastname@example.org