On 08/16/2018 09:04 PM, Stefan Krusche wrote:
> Am Donnerstag 16 August 2018 schrieb Lars Noodén:
[snip]
>> There seems to be some finesse missing.
> 
> Hi Lars,
> 
> I'm almost totally unexperienced with git, but what is missing, I think, is 
> to "stage" the changed files with, IIRC, "git add somefiles.." That's a git 
> concept. I read the first three chapters of an excellent and easy to read 
> introduction into git where I learned that, which you can get for free at 
> this 
> website:
> https://git-scm.com/book/en/v2
> 
> Just in case you are interested.

The staging was the part I missed.  It wasn't clear from the
"git-commit" manual page at all that "git-add" is not about adding new
files but queuing existing but modified files for upload.  The -a with
"commit" can skip that.

git clone GITURL
vi README.md
git commit -a
git push

Thanks.  All set.

/Lars
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to