You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Provide details about Repo & Git commands

Git Command Referrence

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

checkout

To switch to another branch in your local work environment.


$ git checkout BRANCH_NAME

To view a list of existing branches

$ git branch


add

To stage changes.Accepts arguments for files or directories within the project directory. Despite the name, git add doesn't just add files to the Git repository; it can also be used to stage file modifications and deletions.


$ git add
  • No labels