Just Another IT Blog

It's time to share some of my experiences, crazy ideas, tips and tricks !!!

Post Page Advertisement [Top]


VMware has been increasing it’s presence and solutions around Cloud Native Applications, in this new world, agility, integration and automation are keys.
More than that, VMware has been contributing to the community with several open source projects like, Photon Controller, Photon OS, Project Lightwave… all of them available at GitHub.

WOW, wait… What’s GitHub ? How do I use it ?

Don’t be afraid we are on this journey together, this post is dedicated to you (myself including), here I’ll cover the basics to start your own Git projects..

Let’s start with what GitHub is all about:
From it’s own page: “GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.”
In essence it’s a place where you can store your codes, files, images, maintainig version history for every change you make while others can pull them out, make enhancements and push back to you. Nice !!!

First, you need to create an account at GitHub, I wont cover that, you must be an expert on the art of creating accounts by this time of your life ; )

Don’t forget to install Git tool specific for you O.S plataform;
Althought there’s a GUI tool, the most common used one is the command line, so I'll cover this method here.

Once installed, you will have to configure it, so every time you submitt change to yours or others files, your information will be send along with those changes.

run: git config --global user.name “your_name_goes_here”
run: git config --global user.email “your_email_goes_here”



Now image for a second, if you have to type your user/password everytime you submitt a change to your or others online repository ???  Lukely there’s a way to cache your credentials, so it can be used every time without having to bug you about it.

run : git config --global credential.helper osxkeychain

There’s no output from this command, but next time you interact with a project that requires a password it will ask you once and cache it in keychain for future use.

I believe it’s a lot of content for a single post…. Stay tuned for post 2 where we will actually see it in montion.

***  Update ***
Here's post 2 - GitHub - The Basics 2/2


Bottom Ad [Post Page]