Skip to content

creating a snippect collection on github or bitbucket - how to achive that ? #22349

Discussion options

You must be logged in to vote

In order to do what you ask you need to follow this algorithm:

  1. Create repository on bitbucket
  2. Clone the repository in local
  3. Inside the repository create directory called " code_snippet1" and put inside of it all the file relative to the snippet1
  4. Than create directory called " code_snippet2" and put inside of it all the file relative to the snippet2
  5. Than create directory called " code_snippet3" and put inside of it all the file relative to the snippet3
  6. And so on…
  7. Now you need to add, commit and push this files, this depends on how you want to do this:
  8. With commands:
    1.
git add *

git commit -m "create snippets"

git push origin master

  1. With a graphical interface:
    1. Github desktop

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants