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

An organization needs to maintain data files of its employees in the form of tables. They also need to access and update over the company network. Which type of
what did Karl Marx believe first Communism, Capitalism, or feudalism
What is the oldest European city in the United States?
What instrument did nat king cole play? 1= piano 2=guitar 3= saxophone
How are plants and algae different from human in terms of meiosis?
I am a homeschooled student and for the life of me i cant get the answer to this HELP!!!!!!
What are all the stars made up of?
List three proposals given for choosing the chief executive circle the one that you think is the best
Experts recommend that you revisit your financial goals about how often? a. every 10 to 20 years b.every 2 to 5 years c.every year d.a few times a year
How are distance and displacement different?