DEV Community

Mwakaa D
Mwakaa D

Posted on

Understanding The Markdown Language

Understanding Git and Github

Pushing and Pulling code

Pushing code basically well how i understand it is, just as the name suggests. For example what happens when u push a pen into my hand, u just handed me a pen right, well pushing code is basically the same thing, adding a line of code to Git and the changes are observed in the repository in your Github. For this to be done, one must have made a repository in Github where there is a button in the Github home screen, one can add a name to the repository and alter its visibility to the public by either making it private or public. Lets name mine Project. Now the problem most people face is adding code to the git which will be applied to the github repository. So first one must make a typically a subfolder but in coding or rather in git its called a branch. So per say i named mine origin, so we have to first change our directory to the branch so that we can be working on it directly. We have to make a directory or a branch directly on git by using the command mkdir (origin). That command basically makes a directory. Then we are supposed to open the directory which is connected to the repository so that we can make changes to it by using the command cd (origin). That code line changes the directory to origin from the main branch. We can then add kind of subfolders in the branch origin. To do this we use the command line touch, then the name of the subfolder. so lets say you want to make a subfolder called Kenya, you will input in your Git the line touch Kenya. Then to top it off we will add the line git add ., so as to add the changes to the repository. So in the main repository called Project, we will have a branch called origin with a smaller branch called Kenya.

Tracking Changes

It doesnt have to go by saying that whatever you input to your repository has to be to your liking. Therefore one must be able to track the changes that they input to their repository. To do this, you have to type the command git config --list
That line of code makes it that the changes that you had made while pushing your codes ca be viewed all in one place so that you know if you hade input the right codes

Version Control

This is typically being able to know if the version of git in your device is compatible with your machine so as to ensure its use to its full capacity. Doing this makes it that your projects are easier in both doing them and even saving them to your repository. To do this one has to put in the command git --version

Conclusion

As observed by the short examples i was able to give, the markdown language is easily understandable and if put into practice, hardly unforgettable.

Last but not least

This is just a short introduction that i should have done at the beginning

My coding experience as far as the year has proceeded has been very smooth even as i learned Markdown, Python and even other languages. All these I have been able to do through the support of the staff of The Lux Dev Community. They have been very supportive in my endearvors as i proceed together with them.
Lux Dev is a school located at Garden estate, Kanyagia drive.I learned about them through a friend who recommended me to them because as he said, He likes the way they teach as they make coding easier. Of course i had to check this out for myself so i did a little bit of research and found out that even though it was founded in 2019, it has a vast allumni where you find that most of them are doing pretty well in the real world. I dont know its just the effect that comes with being one of their allumni but i was intrigued so i enrolled in their Data science and Analytics course. They also offer Data Engineering. One thing that makes me happy to be a part of the school is the support they offer when your stay with them is not smooth for you. It really motivates one to work hard during their stay there.
My hopes are that i really benefit from this not just coding-wise but even in the interactions that happen on a day to day.

Top comments (0)