Git 4

How to create user gitignore

Issue #967

Git is a helpful tool for managing code and projects, but sometimes you want to ignore certain files or folders only on your computer without affecting everyone else. That’s where the .user_gitignore file comes in. It allows you to …

How to work with git

Issue #531

Expand commits in Sublime Merge

{
	"expand_merge_commits_by_default": true,
	"translate_tabs_to_spaces": true
}

local hooks .git/hooks vs hooksPath

git config core.hooksPath ~/.git-templates/hooks

Only hooksPath gets run. …

How to setup multiple git accounts for GitHub and Bitbucket

Issue #514

Generate SSH keys

ssh-keygen -t rsa -C "onmyway133@gmail.com" -f "id_rsa_github"
ssh-keygen -t rsa -C "onmyway133bitbucket@gmail.com" -f "id_rsa_bitbucket"

pbcopy < ~/.ssh/id_rsa_github.pub
pbcopy < …

Useful git commands for everyday use!

Issue #239

Do you know that questions about git get the most views on StackOverflow? I’ve searched a lot on Google how to execute certain actions with git, and this actually slowed me down a lot. There are some actions that we tend to use a lot, so …