3 ms·
Has anyone asked Laxman Dewangan what he was up to with that initial commit and merge thing?
by tomatokiller 10y ago
Has anyone asked Laxman Dewangan what he was up to with that initial commit and merge thing?
- geofft 10y agoIt's common in a lot of Git UIs (GitHub, for instance) to prompt you to create a README when you create a new repo. I think this is because when you're actually starting a project, older versions of git would get confused if you cloned an empty repo, but using `git clone` to get a directory to work in is much nicer than `git init` + do work + `git remote add origin` + `git push -u` or whatever the command is. So, the hosting tool generates an initial commit for you so that a clone works smoothly. My guess is that Nvidia has some internal Git hosting tool or a private GitHub account, and this developer clicked the most obvious "create a repo" button and tried to push their local git clone of Linux it. That push was rejected because it would have clobbered the auto-generated commit, so they did a `git pull` and a `git push`, i.e., they merged in the auto-generated commit.
- caf 10y agoYes, Linus did. See this thread: http://lkml.iu.edu/hypermail/linux/kernel/1603.2/01926.html http://lkml.iu.edu/hypermail/linux/kernel/1603.2/01926.html