On Tuesday, December 5, 2017 at 9:56:59 AM UTC-6, Konstantin Khomoutov 
wrote:
>
> On Tue, Dec 05, 2017 at 07:14:58AM -0800, Philippe Godfrin wrote: 
>
> > Forgive my noobyness. What I am doing to learn Git is I have a 'central 
> > repo' (which is not really a central) as a directory structure on a 
> hared 
> > network drive (windows H: drive). I have Git and Giteye installed. The 
> repo 
> > on the H: drive looks like this: 
> > 
> >     Directory: H:\DBA_PROD\mssql 
> > 
> > Mode                LastWriteTime         Length Name 
> > ----                -------------         ------ ---- 
> > d-----       11/30/2017  11:05 AM                procs 
> > d-----       11/30/2017  10:12 AM                sql 
> > <snip> 
>
> For a start, could you elaborate on how did you make that directory 
> "a repo"? 
>
> Have you run something like 
>
>   git init H:\DBA_PROD 
>
> ? 
>
> The reason I'm asking is that I find the wording "I have a … repo … 
> as a directory structure" to be strange: a Git repo is not something you 
> have "as a directory structure" — it rather is a directory with contents 
> you typically have no business about since it's managed by Git. 
>
> So let's clear this up first.  

 
>
Much appreciate the response, this is all somewhat new to me. I am pretty 
sure I ran the init commands on the subdirectory (shoot I shouldn't have 
snipped out the git stuff):
PS H:\DBA_PROD\mssql> dir
    Directory: H:\DBA_PROD\mssql

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       11/30/2017  10:24 AM                dba
d-----        12/5/2017   9:06 AM                procs
d-----       11/30/2017  10:12 AM                sql
-a----       11/30/2017  10:30 AM             10 .gitignore
-a----       11/30/2017  10:30 AM            209 .project


Here's a current status:
xxxxxxx@TESTPLT145 MINGW32 /h/DBA_PROD/mssql (DEVEL-1-1-0)
$ git status
On branch DEVEL-1-1-0
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        deleted:    procs/dba_bkp_db.sql
        modified:   procs/dba_full_bkp_all_db.sql
        new file:   procs/full_bkp_current_db.sql
        renamed:    procs/dba_full_bkp_sys_db.sql -> 
procs/full_bkp_sys_db.sql
        modified:   procs/tsql-stub.sql
        deleted:    sql/add-backup-dev.sql
        deleted:    sql/check-version.cmd
        deleted:    sql/create-dbautil.sql
        deleted:    sql/msdb-recovery-full.sql
        deleted:    sql/post-install-report.cmd
        deleted:    sql/post-install-validate.sql
        deleted:    sql/prince-mssql2016-hardening.sql
        deleted:    sql/run-prince-hardening.cmd
        deleted:    sql/set-dba.sql
        deleted:    sql/set-sa.sql
        deleted:    sql/set-server-config.sql


xxxxxxx@TESTPLT145 MINGW32 /h/DBA_PROD/mssql (DEVEL-1-1-0)
$



 

-- 
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