26.04.2017
Wednesday.
Today we learned about GitHub with terminal.
GitHub is a web-based git or version control repository.
First we sign in the github account.
Then create a new repository to the github.
Next go to terminal
⟹git --version
⇒Check git version
⟹git --global user.name Thadchayini
⇒Create a username
password
⟹git config --global user.email thadchayini95@gmail.com
⇒Connect to e-mail
⟹cd Destop/
⇒Change directory Destop
⟹cd uki/
⇒Change directory uki file
⟹mkdir css
⇒Make directory css
⟹git init
⇒Initialize a emty git repository
⟹touch css.txt
⇒Create css.txt file
⟹ls css.txt
⇒List css.txt
⟹git status
⇒Check the file
⟹git add *
⇒Add the select file
⟹git commit -m "This is my first css commit"
⇒Write a short comment
⟹git remote add origin http://github/Thadchayini/css.git
⇒Git repository address
⟹git remote -v
⇒Check the remote
⟹git push -u origin master
⇒Upload the file
...................................................................................
No comments:
Post a Comment