Git Hub

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

BLACK SUN RESEARCH FACILITY

LucaRazvan
luca_razvan4@yahoo.com
matricealuib

create clone:

--> git clone https://github.com/LucaRazvan/luca_razvan1.git

adding a file:

--> git add hello.html

how to save:

--> git commit -m "Message you wanna leave!"

status:

--> git status

to save the changes from the local computer to the GitHub server:

--> git push

to take the changes made from others working on the same project from GitHub to the
local computer:

--> git pull

to see the logging:

--> git log

** with the log you can see all the thing you've modified, and using a specific
command you can go back
with a previous version!

--> git reset --hard 324dd232 // The numbers and the letters are the hash code
from the changes.

--> git reflog (to see the changes made even after pull or push ****)

You might also like