Describe with your own words what the following command is doing or answer the question?
-
git add -A
-
git commit -m “My first commit”
-
git diff file.txt
-
git diff --staged
-
git diff HEAD~2 HEAD
-
git push origin master
-
git pull origin master
-
git stash --hunk
-
git stash drop stash@{1}
-
git fetch origin
-
git checkout 56789
-
git branch
-
git checkout -b feature_branch
-
git merge feature_branch
-
git branch -d useless_branch
-
git log --oneline
-
git rm file.txt
-
git remote -v
-
What is a "remote"?
-
What is "origin"?
-
What is "master"?
-
What is a "branch"?
-
What is the difference between adding and committing?
-
What is the difference between pulling and fetching?
-
What is the difference between cloning and forking?
-
What is the difference between origin and upstream?
-
What is the difference between an untracked and unstaged file?
-
What is
HEAD
? -
What is difference between
git log
andgit reflog
? -
What is the difference between local and remote repository?
-
What is the difference between rebasing and merging?