Yes and no...Karl Godt wrote:git --versioncommit 99b66de00ce8956ffa2d4c261d4474181e9724be
Author: mavrothal <mavrotal@yahoo.com>
Date: Wed Nov 13 15:58:06 2013 +0200
Revert "Replace EMPTYDIRMARKER with .gitignore"
This reverts commit d1adca562538de8b3fd38bdedc698c02b17a7e85.
git version 1.6.4.1
git checkout 99b66d
ignoring REUC extension
Note: moving to '99b66d' which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
git checkout -b <new_branch_name>
HEAD is now at 99b66de... Revert "Replace EMPTYDIRMARKER with .gitignore"
This would be a "total" reset .. ?
Each commit is a repository state.
Each branch is a series of commits; the last commit in a branch is its tip/head.
git checkout switches between branches or commits; checking out a branch is the same as checking out its tip.
You can always switch back to a branch or commit the same way you switched from it: git checkout ...
In git syntax, a reset is something different: it means losing work that's in progress. And that is done with "git reset".
If you copy-pasted your previous post from terminal messages, you used a dash instead of a hyphen, which wouldn't work.git checkout -b upstream
Switched to a new branch 'upstream'
Finally -b option works -> seems my new git is buggy .. ?
In any case, git checkout -r <remote>/<remote-branch> would have been appropriate there; ie
Code: Select all
git checkout -r puppylinux-woof-CE/master
git checkout -b upstream
(I'm basing that on the fact that you added the remote "puppylinux-woof-CE" already.)
Try usinggit pull https://github.com/puppylinux-woof-CE/woof-CE
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/puppylinux-woof-CE/woof-CE/info/refs
fatal: HTTP request failed
Code: Select all
git pull -u puppylinux-woof-CE master
Or try using git://github.com/puppylinux-woof-CE/woof-CE.git as the url.
Or try getting a newer git version (github isn't too great with git 1.6).