Thursday, October 27, 2016

GitHub – The Basics 1/2

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 “your_name_goes_here”
run: git config --global “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


MSantos said...

Hello Edu,

I was looking for some informations about GitHub and by chance its come from you, my colleague.

It's a very nice.

Keep going you are the one

Eduardo Meirelles da Rocha said...

Hi MSantos, glad you found it helpful.
Dont be a stranger.

Post a Comment

Who am I

My photo
I’m and IT specialist with over 15 years of experience, working from IT infraestructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Senior Consultant, helping customers to embrace the Cloud Era and make them succefully on this journay. Despite the fact I'm a VMware employee these postings reflect my own opnion and do not represents VMware's position, strategies or opinios.

Most Viewed Posts

Blog Archive