iceprincess4420 iceprincess4420
  • 20-01-2020
  • Computers and Technology
contestada

You can use the git ____ command to move an older commit to the HEAD so that you can revert to an older version of your code.

Respuesta :

nafeesahmed nafeesahmed
  • 22-01-2020

Answer:

Reset

Explanation:

Git reset is a powerful and time saving tool. It allows you to go back to the previous version of your code.

It becomes handy when after adding a new bunch of code results in bugs then you can roll back to the earlier commit.

HEAD is basically a reference to the current commit. Whenever you update your code a commit is created and HEAD shifts to the latest commit.

This way we can go back to any commit that we want without any difficulty or hassle.

Answer Link

Otras preguntas

Quan plans to spend less than $80 for buying groceries. He plans to spend $68.25 on food and spend the rest on juice. Each juice carton costs $3. He is curious
In what locations can byzantine art be found?
another name for an Allen wrench is
I would like a list of random, interesting facts about Francium. Please give a minimum of 5 facts, and don't state the obvious, such as a boiling point.
When using terms such as coelomates and pseudocoelomates, a “grade” is _________.?
PLEASE HELP!!!!!! 3 QUESTIONS DUE!!!!!!!!!!!!!! SHOW WORK PLEASE!!!!!!!!!!
Can you explain how you would convert 4 m to millimeters?
How do you find the charge of an atom's nuclues?
What affect would a warm body of water have on the coastline?
who composed Dido and Aeneas,his only true opera