I am writing this tool since I do not want to surf the internet and look for the steps to build git repo.
This problem I want to solve is: I want to build git repo in one server and clone it if I want to have it on another server.
On server A:
1 2 3 4 5 6 7 8 9 10
For the address of your repo, refer to the following:
1 2 3 4 5 6 7
Thus in my working environment, I can issue the followin command to clone the repo in a server to another:
We can use “git pull” to pull the latest files.
For the .gitignore file, we can create one in the repo dir and add to the .gitignore file something like this:
1 2 3 4
For the details, please refer to online resources.