Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

mkdir git
cd git/
git init --bare cnaas-templates-origin.git
git clone cnaas-templates-origin.git cnaas-templatetemplates

This will setup a local "origin", then clone/check out that origin in to the directory cnaas-templates where you can work on the contents. Next we need to populate this repository with some data so we will grab some example templates from SUNET github and copy that over to our local repository:

git clone https://github.com/SUNET/cnaas-nms-templates sunet-github-templates
cp -r sunet-github-templates/eos/ cnaas-templates/
cd cnaas-templates/
git add .
git config --global user.email "lab@example.com"
git commit -a -m "init"
git push

...