Git

From Lolly's Wiki
Jump to navigationJump to search
$ git init --bare ansible.git
$ cd ansible.git
$ git config receive.denyCurrentBranch ignore
$ git clone /home/ansible/ansible.git ansible_
$ cd ansible_
$ cp -rp ~/ansible/* .
$ git add .
$ git commit --all -m "Initial project"
$ git push