Skip to content

Rantama/exercise-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

##What's ...? What is git? & What is github?

Learn Git

Tutorial: Try Git

Github

Create a Repository

Cloning, Forking, Commiting & Updating #Exercise Fork this repository and download the repository to your computer ##Questionnaire The next questionnaire could be answer within the readme file on your computer or within github repository. If you decide to do it in your computer, just edit the readme.md file with each answer then add changes, commit then and finally push the changes to your github repository. If you decide to change it within github, you just need to click on the readme.md file, click the edit icon and start answering the questions.

  1. What is Git?
  2. What is Github?
  3. Describe the commands that were used on Try Git tutorial (Use a table).
  4. What are the main advantages?

###Answers

1 What is Git?

An open source version control software

2 What is Github?

a remote server, a community of developers, and a graphical web interface for managing your Git project.

3 Describe the command that were used on Try Git tutorial.

git status - get current state of project git init - initiate git repository git add - add to staging area git commit -m - store stage changes git add '*.txt' - add many file to directory git log - getting logs to all the changes

4 What are the main advantages?

any changes done will not make any changes to the master. Each person can work on his or her copy without damaging the master

##Exercise

Work on the gitTutorial folder, in order to simulate everything that was done within the Try Git Tutorial. The tutorial allow you to use some git commands but is skipping the creation and editing of the files, so you are going to create/edit/delete the files following the tutorial steps using git add [files] and git commit -m "PLACE COMMIT NAME HERE" in order to have a reference within the project per change.

###For example:

####Edit octocat.txt file

  1. Open octocat.txt file then create a change within the file, could be just add or erase a letter/paragraph ...
  2. Add changes to stage area git add octocat.txt
  3. Commit changes to the project git commit -m "Octocat cat File edited"

#Useful Links

Github Markdown readme file references

Mac terminal Commands

About

Introduction to Git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published