Uncategorized

Git commands

  1. First time clone the repository to local machine: git clone https://unfuddle.io/git/TRgsyfM57rQBh4nTS.git
  2. Check status of repository: git status
  3. To add new files: git add “file name”
  4. To add all new files: git add –all
  5. To commit changes: git commit -a “message”
  6. To push committed changes to repository: git push
  7. To fetch updates from repository: git fetch
  8. To update local copy after fetch: git pull