1) create a git repository in /etc
cd /etc ; git init
2)
git add .
git commit -am "Initial commit. /etc now under version control"
3) From now on every time you modify a file you can do
git add
git commit -m "Description of the change to
4) To see your pending changes do: git status
5)if some files are to be removed, run git add -u .
No comments:
Post a Comment