Friday, May 24, 2019

 GITHUB



INSTALLING GIT FOR LINUX BY TERMINAL
                             
INSTALL                 sudo apt-get install git
USERNAME           git config --global user.name "user_name"
EMAIL ID                git config --global user.email "email_id"

After installation you have to create you own profile 


Why we use git hub : 
We can add new repositories
We can do a work as a team
Can get suggestion from other developpers 
Communicate with others and join their project


Terminal command for 
  • git init                                                      : to create a hidden folder
  • git add (file name)  /   git add *               : to send files to the hidden folder
  • git status                                                 : to see the status about files     
  • git commit -m "type the message"          : to set the file before push
  • git  remote add origin (url type your url)  : which url you have to send file
  • git remote remove origin                          : if you type wrong url to clear       
  • git remote -v                                           : to check the connection to url
  • git push -u origin  master                         : to push the file to github



No comments:

Post a Comment

Express

In this tutorial, we will also have a look at the express framework. This framework is built in such a way that it acts as a minimal an...