Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> git start master

I've been using git for years, and can't find documentation for start.

https://gitexercises.fracz.com/exercise/master https://git-scm.com/docs



The configure.sh script you run at the start creates a few aliases (start, verify, exercises). See https://raw.githubusercontent.com/fracz/git-exercises/master...


Thank you for posting this, when I cloned the repo initially from the site, configure.sh was not included.


Yup, the initial `git clone` is checking out detached head 71c5f2d08f23d30c6fc11ac71d65f683b326c844.

It looks like the remote bare repo has a botched HEAD.

Workaround:

    cd exercises
    git checkout master
    ./configure.sh
    git start


> It looks like the remote bare repo has a botched HEAD.

So the guy teaching us git has a messed-up git repo...?

(╯°□°)╯︵ ┻━┻


From the site:

> And the git start?

> That is the first alias configured by the script described above. It initializes the first exercise that is on master branch. Read the instructions and solve it!




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: