How about that?

  just a litlle more digging:

  $ git remote add origin ....   applemcg/commonlib.

  I still think the book needs some work in this area.

--------

On Monday, October 8, 2018 at 9:36:42 AM UTC-4, Marty McGowan wrote:
>
>
> Not quite a newbie question, but it's back to basics.  I've a github 
> account @applemcg  and have created a few REPOs there -- shell functions..
>
> This time, from the command line, I've started from scratch, following the 
> book: https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository, 
> where in a local directory i've:
>
> >   825  git clone --bare commonlib commonlib.git
> marty3.$ !825
> git clone --bare commonlib commonlib.git
> fatal: repository 'commonlib' does not exist
> marty3.$ git status
> On branch master
> nothing to commit, working tree clean
> marty3.$ git ls-files
> .gitignore
> README.md
> bin/applib
> bin/commonlib
> bin/ftplib
> bin/refresh_test
> bin/refreshlib
> lib/but_not_these.awk
> marty3.$ 
>
> I'm preparing to push this onto my applemcg account.   But would like to 
> know how to establish a REPO and it's name on the local machine.   Here is 
> evidence of one of my earlier REPOs which I established through a browser 
> on github:
>
> shellfunctions.$ !840
> git remote -v
> origin  g...@github.com:applemcg/shellfunctions.git (fetch)
> origin  g...@github.com:applemcg/shellfunctions.git (push)
> shellfunctions.$ 
>
> What is the name of my local REPO, or how do i create the name for it?  (I 
> don't think the book is clear about that)
>
> I've experimented with git clone options, but, the question remains?
>
>  I've read enough here to know that the directory name is of no 
> consequence, necessarily to git.  
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to