Posts

Git Commands

Image
Git commands can be really useful when working with GitHub. It makes the branching of you repository, pushing and pulling of code from your local branch to the GitHub branch much easier. In OSD600 which a Open Source Development course at Seneca, we will have to do a lot of it so let's take a look into some of the new commands that I found today and are very useful and interesting. Syncing your code to your branch on GitHub is just one of the features that Git provides. Many times in order to make our code work better or to fix a bug we end up changing something wrong and in a worse case scenario making a lot of changes because of which we cannot recognize where we went wrong and it all looks a mess now. All of us have been there, a lot of times the only solution would be to scheme through your code and check the logic. However, Git is here to save us all from that nightmare. Git helps you to see what changes you have made. It gives you a look into the version of your previous co

Release 0.1

Image
Release 0.1 was about editing the Filer project. That project used var for declaring every property. Even the constants were declared using var.  According to the new updates, const should be used to declare a variable which will not be reassigned later. Hence, if you declare a variable as const and end up reassigning it by mistake your code will throw an error. Whereas, let is a block scope local variable and can be reassigned easily. For more details about const, let and var click here. For the release 0.1 I have updated the implementation.js file, now it declares its constants using const. Here is the  link to the pull request I made for the above discussed updates. This was the first time I made a pull request using git hub and it was a bit overwhelming and confusing for me as there were a lot of steps. Hence I have shortened the steps and made a note of it which I can use when I make my second pull request: 1. File an issue for a bug you find. (e.g: link