Skip to content

Instantly share code, notes, and snippets.

@jblaine
Created September 6, 2013 15:11
Show Gist options
  • Save jblaine/6465204 to your computer and use it in GitHub Desktop.
Save jblaine/6465204 to your computer and use it in GitHub Desktop.
https://wiki.opscode.com/display/chef/Working+with+Git Says:
[jblaine@dev:~/src] $ git clone [email protected]:jblaine/chef.git
Initialized empty Git repository in /home/jblaine/src/chef/.git/
...
[jblaine@dev:~/src] $ cd chef
[jblaine@dev:~/src/chef] git remote add opscode git://github.com/opscode/chef.git
[jblaine@dev:~/src/chef] git config branch.master.remote opscode
[jblaine@dev:~/src/chef] git checkout --track -b CHEF-4418 opscode/master
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'opscode/master' which can not be resolved as commit?
[jblaine@dev:~/src/chef]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment