<a href="javascript:history.back()" class="btn btn-default">Go Back</a>
git reset --hard HEAD~3
Deletes all commits after the specified commit and moves HEAD to that commit (this will get rid of changes so we should be careful)git reset --hard 004caa3
git log --oneline --all --graph
When --graph is not used, all history branches are flattened which can make it hard to see that the two consecutive commits do not belong to a linear branchgit add -p
It will ask us interactively whether we want to add each individual changes to the staging area or not
y
means yes, n
means nogit bisect start
npm --version
Short version of the above commandnpm -v
help
page with some useful information about how to use npm
npm
Same as the above commandnpm help
package.json
file that contains all of the settings and essential information for the application
Creates the file with the default valuesnpm init -y / npm init --yes