Skip to content

Instantly share code, notes, and snippets.

@mallow111
Created July 16, 2015 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mallow111/609b6facf43346eb375c to your computer and use it in GitHub Desktop.
Save mallow111/609b6facf43346eb375c to your computer and use it in GitHub Desktop.
git tips
to check the config of git : go to .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/openstack/octavia.git -------check if it is openstack instead of stackforce
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "gerrit"]
url = ssh://minwang@review.openstack.org:29418/openstack/octavia.git -------check if it is openstack instead of stackforce
fetch = +refs/heads/*:refs/remotes/gerrit/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment