Use git to store system config -
i want use git manage config of linux boxes. started placing repository folder system root:
cd / git init when move /etc folder , git status get: "# not on branch." , see list of items in root folder "untracked files".
what doing wrong?
oliver
git init initializes empty repository no commits , no heads (i.e. branches). have add things first , create @ least 1 commit have branch (master) created.
for example:
git add /etc/. git commit -m 'add /etc/ data' if plan use git this, should really add many files .gitignore though , add files explicitely want add repository though.
Comments
Post a Comment