Git

From Lolly's Wiki
Revision as of 15:59, 2 March 2022 by Lollypop (talk | contribs) (Created page with "<syntaxhighlight lang=bash> $ 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 </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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