Activity #5 GitHub Fundamentals | Aligan, Rhed N.

Activity #5 GitHub Fundamentals | Aligan, Rhed N.

  1. Starting Command to enter git and operate Github

    Includes of git --version, git config --global user.name, git config --global user.email, git init, and git status.

    Git --version - It use to identified what version you installed, it's very important because it's depend on the device we had if the version is compatible, usable, or need to be up to date.

    git config --global user.name

    git config --global user.email - These two commands are use to identify the cmd where the operations associates or accountability of changes and modifies.

    Git init - gives a directory of git and set repository structures that stand up for all projects made through git.

    Git Status - This use if what are the files, folders has change to the previous and current state in staging area (Like reservation area before you commit for changes).

  2. GIT LOG to check and view all the changes and modified over time.

  1. GIT CLONE - Is usually copying what git repository had wherein it clones the entire repository includes. Advantage is once you commit accidentally, its only a clone that not damage the main repository.

  1. GIT PUSH ORIGIN MAIN - Is a common command that used to transfer from a local repository to a global or we called a remote repository wherein others can now able to clone, add and adjust some files and codes based on the last state modified. It's like a sender to the main branch.

  1. GIT PULL ORIGIN MAIN - is reverse of Git push Origin main, this command use to make up-to-date to all changes in your main branch. It will help for collaboration teams that over time has modifies for the project. It's like a receiver to the main branch.

  1. OUTPUT

GITHUB LINK REPOSITORY:

https://github.com/Rhedaligan8/MyGit

https://github.com/Rhedaligan8/MyGit