Knowledge related to git and GitHub.
Config related stuff for git.
You can configure your name and email address using the following two commands:
$ git config --global user.name "John Doe" $ git config --global user.email [email protected]
You can change your preferred editor using the following command:
$ git config --global core.editor vi
Ever wondered, where those neat Badges you can find all across GitHub come from? Or where to make your own?
First of all, those badges come from shields.io. You can create your own badge very easy. Just Use the following URL Sheme:
Let's try the following code:
This gives you:
Want to brag about how big
your Wonkydonky a Repository is? Now you can. With reposs (Repo Size Shields).
Just paste the following snippet in your repos
README.md, but don't forget to change the Username and Repo values according to your needs.
Did you know, that there is a GitHub Cheat Sheet?
It lists all features of GitHub and how to use them.
If you ever need to change the URL of a remote, you can do it like this:
$ git remote set-url origin [YOUR-NEW-URL]
By the way, you can list all your remotes with:
$ git remote -v