Skip to content

Instantly share code, notes, and snippets.

View FingerLiu's full-sized avatar
😀
coding

FingerLiu FingerLiu

😀
coding
View GitHub Profile
@FingerLiu
FingerLiu / install_sqlite_3.14.sh
Created September 14, 2016 08:53 — forked from ziafazal/install_sqlite_3.14.sh
install custom sqlite(3.14) with pysqlite
# install custom sqlite 3.14
wget https://github.com/ghaering/pysqlite/archive/2.8.3.tar.gz
wget https://www.sqlite.org/2016/sqlite-autoconf-3140100.tar.gz
tar -xzvf sqlite-autoconf-3140100.tar.gz
tar -xzvf 2.8.3.tar.gz
cp -av sqlite-autoconf-3140100/. pysqlite-2.8.3/
cd ./pysqlite-2.8.3 && python setup.py build_static install
@FingerLiu
FingerLiu / squash-commits.md
Created July 17, 2019 03:18 — forked from longtimeago/squash-commits.md
How to squash commits in a GitHub pull request

How to squash commits in a GitHub pull request

o you've contributed some code to an open source project, say, Rails. And they'd like you to squash all of the commits in your pull request. But you're not a git wizard; how do you make this happen?

Normally, you'd do something like this. I'm assuming upstream is a git remote that is pointing at the official project repository, and that your changes are in your 'omgpull' branch: