0 votes
16 views
What is ‘git reset’ is used for? What is the default mode of this command?
in Technology by (191k points)

1 Answer

0 votes

Git reset is a powerful command for undoing local changes to the state of a Git repo. This command resets the current HEAD to the specified stage.

It resets both the index and the working directory to the state of your last commit. Git reset has three modes i.e. soft, hard and mixed. The default mode of operation is mixed.

by (191k points)

Related questions

0 votes
1 answer 18 views
0 votes
1 answer 19 views
0 votes
1 answer 17 views
17 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 17 views
0 votes
1 answer 22 views
22 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 24 views
24 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 14 views
0 votes
1 answer 26 views
0 votes
1 answer 24 views
24 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 16 views
16 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 14 views
14 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 18 views
0 votes
1 answer 19 views
0 votes
1 answer 16 views
0 votes
1 answer 18 views
18 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 15 views
0 votes
1 answer 15 views
15 views asked Nov 4, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 22 views
22 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 18 views
18 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 16 views
16 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 21 views
21 views asked Nov 2, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 13 views
13 views asked Oct 19, 2020 in Technology by JackTerrance (191k points)
0 votes
1 answer 116 views
...