[go: up one dir, main page]

Skip to content

Asabeneh/git-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git and GitHub Lesson

Git is an open source version control software.

Git

You can download Git and start using this version control software in all your developments

Subsubtitle - Heading 3

This is a log of Git

Git log Git log

The code blow is Python

def make_square(n):
    return n ** 2

We should have the link of 30DaysOfPython.

Colons can be used to align columns.

Names Ages Country
Asab 250 Finland
Philip 28 Italy
Almaz 28 Sweden

Summary

What is Git? What is the difference Git and GitHub? What is a repository?

git init - to initiate a local repository
git status - to check the status of the repository
git log - to see the history
git add filename - to add a file to the staging the area
git add . - to add all files and directories at once
git commit -m "some message" - allow us to make the change backed up.
git remote add origin url - to connect to the remote repository
git push -u origin master - uploading the changes to remote repository
git pull - allow us to download codes from remote repository to local