Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 727 Bytes

README.textile

File metadata and controls

36 lines (30 loc) · 727 Bytes

GIT tricks I learned by experimenting

git remote add origin [email protected]:jurgis/test.git

If diff output does not have colors change COMMIT_EDITMSG
type to Diff in TM.

cat .git/config
===


[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
[remote "origin"]
	url = [email protected]:jurgis/test.git
	fetch = +refs/heads/*:refs/remotes/origin/*

Added those lines


[branch "master"]
  remote = origin
  merge = refs/heads/master

And now I want to push and pull the dev branch to the github.

Added those lines


[branch "dev"]
  remote = origin
  merge = refs/heads/dev