Version Control with Github!
git commit -m "Add workshop 1"
Starting off for the year, we went over the basics of Github. First we went over how to add yourself to the RocHack website by sending a simple pull request. If you missed it, you can check out the slides here. After that, we went into how you can sync a project on your computer with Github to keep it on the cloud and keep track of every version. I’d love to do another, more advanced Git workshop in the furutre!
Git setup tips
If you are downloading git, you can here it here. You can also find the GitHub website here. Once you create a new repository on the GitHub website, you can sync it with a local project by opening a terminal/command line in your project directory and following these steps:
- git init
- git add .
- git commit -m “first commit”
- git remote add origin linkToProjectOnGitHub
- git push -u origin master
Then every time you need to update your respository you can just type:
- git add .
- git commit -m “commit message”
- git push
Thanks to everyone who came out to our first meeting of the year, and I look forward to seeing everyone again!