git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
Lesson 1 SUMMARY | |
1. The cursor is moved using either the arrow keys or the hjkl keys. | |
h (left) j (down) k (up) l (right) | |
2. To start Vim from the shell prompt type: vim FILENAME <ENTER> | |
3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes. | |
OR type: <ESC> :wq <ENTER> to save the changes. |
$ curl 'http://lubimyczytac.pl/ksiazka/264290' -s | grep -E '<meta|<link|sBookDescriptionLong'
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="pl" />
<meta name="Description" content="Poznań, początek 1924 roku. Mieszkańcami miasta wstrząsa fala brutalnych morderstw. Z rąk nieznanego sprawcy giną prostytutki. Śledztwo prowadzą komisarz Antoni Fischer oraz jego zastępca Albin Siewierski. Ten pierwszy to dystyngowany i elokwentny oficer n" />
<meta name="Keywords" content="" />
<meta name="google-site-verification" content="mJetwv1NM4QIfTB8l0pw3d1JeakCq5rIuiF-7rdQb3w" />
<meta name="LC_app_ver" content="83e373cf5c21cd1216a520fdc6bf7838" />
<meta name="all-apver" content="426076ebc703102e66f5722e4abf70b380eec15e" />
<link rel="stylesheet" type="text/css" media="screen, print" href="http://s.lubimyczytac.pl/skins/lc/css/lc_all_skin_lc.min.css?2015100802" />
Sometimes you may want to undo a whole commit with all changes. Instead of going through all the changes manually, you can simply tell git to revert a commit, which does not even have to be the last one. Reverting a commit means to create a new commit that undoes all changes that were made in the bad commit. Just like above, the bad commit remains there, but it no longer affects the the current master and any future commits on top of it.
git revert {commit_id}
Deleting the last commit is the easiest case. Let's say we have a remote origin with branch master that currently points to commit dd61ab32. We want to remove the top commit. Translated to git terminology, we want to force the master branch of the origin remote repository to the parent of dd61ab32:
[Theme] | |
DisplayName=Solarized Dark | |
[Control Panel\Desktop] | |
PicturePosition=4 | |
[VisualStyles] | |
Path= | |
ColorStyle=NormalColor | |
Size=NormalSize |
#!/bin/bash | |
git branch -D gh-pages | |
git push origin --delete gh-pages | |
git checkout -b gh-pages | |
ionic build --prod | |
find . -type d ! -path './www*' ! -path './.git*' ! -path '.' | xargs rm -rf | |
rm -r *.* | |
mv www/* . | |
rm -rf www | |
git add . |
For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.
npm install font-awesome
How to use: