Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
<a href="javascript:history.back()" class="btn btn-default">Go Back</a>
by Luka Tatarishvili
4 years ago
0
JavaScript
0
Deletes the last 3 commits
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
by Valeri Tandilashvili
4 years ago
0
Git
Git/Github Tutorial
0
by Valeri Tandilashvili
4 years ago
0
Git
Git/Github Tutorial
0
git log --graph
Draw a text-based graphical representation of the commit history on the left hand side of the output. This may cause extra lines to be printed in between commits, in order for the graph history to be drawn properly
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 branch
by Valeri Tandilashvili
4 years ago
0
Git
0
We can add part of changes (from the same file) to the staging area and not to add the rest of the changes
git 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 no
by Valeri Tandilashvili
4 years ago
0
Git
0
Starts the process
git bisect start
by Valeri Tandilashvili
4 years ago
0
Git
0
what is NPM used for
install/uninstall modules/packages
create & share modules
use packages created by other developers
manage dependencies & versioning
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Shows the current version of NPM
npm --version
Short version of the above command
npm -v
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Shows
help
page with some useful information about how to use
npm
npm
Same as the above command
npm help
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Creates
package.json
file that contains all of the settings and essential information for the application Creates the file with the default values
npm init -y  /  npm init --yes
by Valeri Tandilashvili
4 years ago
0
NPM
NPM Crash Course
0
Results: 1580