Activity #3 Github Fundamentals

This is step by step guide on how to use Git Commands

First to see the Git Version do this

This will show the version of your Git.

Second to setup the name and the email do this

This will setup your name and email to your Git bash.

Third to Change Directory throughout your computer do this

This will make you move freely to all of your files, directories and folders.

Fourth to see all the list of your files and folder do this

This will make you see all this list of your files, folders even directories.

Fifth to make a new folder do this

This will make a new folder.

Sixth to make a new file do this

This will make a new file.

Seventh to delete a file do this

This will delete a certain file.

Eighth to write a message in a file do this

This will write a text inside a file.

Ninth to initialize your folder do this

This will initialize your folder in your desktop.

Tenth to add all your files do this

This will add all your files to staging area in your Git Repository.

Eleventh to commit your files do this

This will commit your files to your Git Branch.

Twelfth to make a new branch do this

This will make your new Git Branch and also rename it.

Thirteenth copy your link from your Github Repository

Copy your link so you can add your files to it and push it.

Fourteenth to make a origin repo do this

This will become your remote to the clone Repository.

Fifteenth to push your files to your repo do this

This will push your remote repository to your Github Repository.

Sixteenth to see your commit history do this

This will show your commit history to your Github Repository.

Seventeenth to see the status of your branch do this

This will show the status of your Git Branch.

Eighteenth to see your branch do this

This will show your branch that you use.

And Lastly to see pull a Git Repository do this

This will pull a Git Repository and will update the local version of a Repository from remote.

This Git Commands is only one of the many their are so many of them and this commands is one of the essential commands you can still search other commands in the internet.

1
Subscribe to my newsletter

Read articles from Cañete,Brandon L. directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Cañete,Brandon L.
Cañete,Brandon L.