Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Github
0
votes
Q: What is the command to reset your index as well as the working directory to the state of your last commit?
What is the command to reset your index as well as the working directory to the state of your last commit? A. git clean B. git reset C. git revert D. git checkout...
asked
Dec 21, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: What is the Git command to blow away all the changes in a file in the working area, since the previous commit?
What is the Git command to blow away all the changes in a file in the working area, since the previous commit? A. ... git log filename C. git checkout filename D. git rm filename...
asked
Dec 21, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: What does the command Git reset –- soft HEAD^ perform?
What does the command Git reset –- soft HEAD^ perform? A. Moves commit to one after current head B. Moves commit ... . Moves commit to the first head D. None of the options...
asked
Dec 21, 2022
in
Education
by
JackTerrance
github
0
votes
Q: How to delete unpublished Git commits and get rid of them permanently?
How to delete unpublished Git commits and get rid of them permanently? A. git reset –hard B. git revert C. git reset –soft...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: Which of the following creates new commit when you pull new changes from master to the feature branch?
Which of the following creates new commit when you pull new changes from master to the feature branch? A. git rebase master B. git merge master C. git pull origin master...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: Developer A has done some changes in the subproject and pushed it. Developer B can pull those changes using __________.
Developer A has done some changes in the subproject and pushed it. Developer B can pull those changes using __________. ... submodule update C. git pull origin D. git submodule add...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: Developers A and B are building the same feature on feature/X branch.
Developers A and B are building the same feature on feature/X branch. Developer B made some changes and pushed to the remote. ... git checkout B. git log C. git pull D. git push...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: What is a good practice to follow when you want to backup a local branch?
What is a good practice to follow when you want to backup a local branch? A. Push to remote repo B. Move to another PC C. Create another copy D. None of the options...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: What is the command to delete a branch in your remote repository?
What is the command to delete a branch in your remote repository? A. git delete branchname B. git branch -d branchname C. git push origin -d branchname D. None of the options...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
0
votes
Q: What is the Git command to create a branch?
What is the Git command to create a branch? A. git invoke branch branchname B. git add branch branchname C. git create branch branchname D. git branch branchname...
asked
Dec 20, 2022
in
Technology
by
JackTerrance
github
Page:
« prev
1
2
...