TEL + GitHub

Visit our official GitHub organization


GitHub Using the Command Line

  1. To check which files are changed in your local repository:
    git status
  2. Now you can add the files to the local git for future commit. To add all files, use:
    git add .
    or
    git add --all
    To add special file use:
    git add file_name
  3. The next step is to package the files into a commit. You do this with the following command:
    git commit -m "your_message"
    The message at the end of the commit command should explain what the commit contains. For example, you can say "My first commit" or "Fixing bug in the display_image() function" etc.
  4. Next you can check for any changes in the github repository from your teammates:
    git pull
  5. Finally, you need to push the code from your local computer to the remote repository on GitHub:
    git push
    This command will push the changes to the remote repository.

Version 1.0 (21 March, 2022)

Initial Release