Thursday 29 November 2018

GIT & GITHUB

GIT






A staggering number of software projects rely on Git for version control

Git's features

  • Performance
  • Security
  • Flexibility
  • Version control

Some important commands in Git

  • git config --global user.name "xxx"
  • git config --global user.email "yyy"
     This two commands for 1st time works on git we must insert our github username and user email.
  
  • git init - Initiate  projects
  • git  add . - Adding project in directory area
  • git status - Different between index & working directory
  • git commit -m "this is html file" - description of the project 
  • git remote add origin url - attach with our github url
  • git remote -v - list github project's remote
  • git push -u origin master - pushes a local branch to the remote origin 
  • git clone - download a copy of a remote like which is in github

Process of git

interface of github




0 comments:

Post a Comment