Computer Science, asked by sharmarshraddha92, 5 months ago

Basic operations performed by GIT are_____

O Stage
O Commit
O All of these
O Track​

Answers

Answered by yokeshps2005
2

Answer:

are_____

Git has a set of commands and git cmd to perform git operations, like create repository in git, create a local copy of the repository, create branches, add files, commit the changes, push the changes to a remote repository, and many more. Here is the list of all the git operations - git operation list

Answered by Cutiepieannu
4

The following is a summary of basic git operations:

git add

Puts current working files into the stage (aka index or cache)

git checkout

Replaces the current working files with files from a branch.

git checkout -b

Creates a new local branch from the current branch's tip.

git clone

Clone an existing repository into a new directory.

git commit

Commits staged changes to a local branch

git commit -a

Commits all modified files to a local branch (shorthand for "git add" followed by "git commit" for each modified file)

git fetch

Downloads changes from a remote repository into the local clone

git merge

Merges files from a given branch into the current branch.

git pull

Fetches remote changes on the current branch into the local clone, and merges them into the current working files.

git push

Uploads changes from all local branches to the respective remote repositories.

git reset

Makes the current branch point to some specific revision or branch.

git reset --hard

Makes the current branch point to some specific revision or branch, and replaces the current working files with the files from that branch.

Similar questions