-
-
Save adil1214/85f379527679782a2401b3b627e96a3a to your computer and use it in GitHub Desktop.
Revisions
-
adil1214 revised this gist
Jul 27, 2020 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,10 @@ git log --oneline -n x # quickly peek the available scripts cat package.json | grep "scripts" -A 10 # clone a specific branch from a repo git clone --single-branch --branch <branchname> <remote-repo> # fetching all the branches and checking into one branch git clone --branch <branchname> url -
adil1214 created this gist
Apr 20, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # display x last commits one for each line git log --oneline -n x # quickly peek the available scripts cat package.json | grep "scripts" -A 10