# uncommit
git reset HEAD~
# remove submodules https://stackoverflow.com/questions/29850029/what-is-the-current-way-to-remove-a-git-submodule
git submodule deinit <asubmodule>
git rm <asubmodule>
rm -rf .git/modules/<asubmodule>
# named clone
git clone https://github.com/sferik/sign-in-with-twitter.git signin
# default behaviour, pull is fast-forwarded if possible, otherwise it's merged
git config --global pull.ff true
# generate new one
ssh-keygen -t rsa -C "your_email@example.com"
# meld mergetool
git config --global merge.tool meld
# set vim
git config --global core.editor "vim"
Last active
August 26, 2021 22:21
-
-
Save p1nox/2fee084bdd80098c2fe815fb7e6d8193 to your computer and use it in GitHub Desktop.
git notes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment