Categories
Coding Project Tutorial

KitKat – Android/Nodejs/Git Tutorial part 1 Installing Git

Hi…,

This here is my first blog post.
I wanted to make a tutorial on creating a project for a large code base. I’m really not sure where I want to stop this thing. I’ll just start and see where it goes. This is kinda a thing for myself that I can comeback to easily review stuff, but I hope it’ll be helpful to others
Feel free to leave a comment or message even if it’s not that relevant, I’ll try to reply asap.

So without further ado, what are we going to build.
Well, I’m going to be showing how to build an application about cats

Why?

I’m jealous of people who have pets so I want to make an android app where I can store my fictional cats. It’s just fun and great practice to learn.

Where do we start?

I’m going to break this into a bunch of blog posts then decide the outline later. For now:

  1. Installation
  2. Explaining git and android applications
  3. Building our first app
  4. Explaining git and adding it to our project
  5. Setup git workflow for organizations

Installation


We are going to have to install a couple of software:

I’m only going to be showing the installation for git. The rest of them should be quite straightforward. If you have any issues, just let me know.

Installing Git/Github


If you like videos, you can just watch this recording that I made:

If you’re not a video person, like me:

Step 1
Go to this link https://git-scm.com/downloads on your browser

Step 2 – Windows


So what’s different with windows. Well macOS uses a linux terminal. Linux terminal has a lot of commands that are just not available on windows cmd, there are other versions but most people just prefer the linux commmands.
But the good news is that git allows us to install these tools/commands.


To proceed click on the windows option. This will open the following menu and automatically start a download. If it does not, then click the appropriate option based on your operation system(either 32-bit or 64-bit windows setup) to download the application manually.


Step 3 – Windows
Click on the downloaded file (either through your browser or navigating to the download folder)

Step 4 – Windows
Click allow to make changes

Agree to the terms and conditions by clicking Next >

Step 5 – Windows

Keep the default settings and click Next >
Note you could prob add the font, updates, and icons but they’re not that important.

Step 6 – Windows

The default text editor for git is Vim. I don’t recommend it for beginners. I’ve always used sublime-text 3 just because it’s lightweight. Most professionals use VS Code. Note you’ll need to install anything that’s not Vim by yourself if you want to use them.
Pick sublime text and click Next >

Step 7 – Windows

This is the important step. So If you want to use linux commands from cmd, select the third one. If you want to use git commands from cmd, select the second one. If you want to use git commands only from a separate git bash terminal, select the first option.

Select the third option and click Next >

Step 8 – Windows

I might do a tutorial on putty later but for now select openSSH and click next

Select the first option and click Next >

Step 9 – Windows

Again just sticking to the linux stuff here instead of the windows ones

Select the first option and click Next >

Step 10 – Windows

Just line endings, since it suggests first one for windows.

Select the first option and click Next >

Step 11 – Windows

We won’t be using git bash that much so not that important. Lets just make it look different from cmd.

Select the first option and click Next >

Step 12 – Windows

Finally, since we chose all the linux options, we don’t really need git credential manager.You could enable it if you want, but you need to install a version of .NET framework beyond 4.5.1
File caching will boost performance so lets add that. Symbolic links are kinda like file shortcuts for the Operating system, we won’t deal with them.

Select the first option and click Install

Step 13 – Windows

And we are DONE.phew.
You can view the release notes or the git terminal if you like.

Remove all the options and click Next >

Ok so now we have git installed. You can test if it’s working by opening terminal on linux or cmd on windows by searching for the command. Then run the following command

Next Time

Next time we’ll be covering Explaining git and Android applications. Stuff we need to know before we start coding.

Hope you enjoyed my first tutorial. If you made it this far, you are just pure awesome. Please give me some HONEST feedbackšŸ˜­.

Thank you for reading.

By humaidk2

Humaid is a full stack developer who has a passion for building applications with artificial intelligence. You can get more info at humaidkhan.com

Leave a Reply

Your email address will not be published. Required fields are marked *