Skip to content

aristanetworks/eoscentral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

eoscentral

Code examples associated with EOS Central articles.

Instructions on how to add code

Steps to add code from your personal GitHub repository for a new EOS Central article. Assuming the following details:

  • GH username: my_user
  • GH repo: my_new_repo
  • Name of eos central article: my_new_article

First, clone your own repository

git clone https://github.com/my_user/my_new_repo && my_new_repo 

Next, add a new eosc remote

git remote add eosc https://github.com/aristanetworks/eoscentral.git

Add all your code to a new "orphan" branch

git checkout --orphan my_new_article

Push your code to the new remote

git add .; git commit -m "my_new_article"; git push eosc my_new_article

If satisfied, remove the eosc remote

git remote remove eos

About

Code examples associated with EOS Central articles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published