[NBP web-reskin] Question on: git status

swdidomenico at comcast.net swdidomenico at comcast.net
Sun Nov 8 11:13:39 EST 2009



As you can see I changes this page. 



modified:   ../../pages/business/index.html 


after I nav to /pages/business I did a git index.html. 



But after I did a git status, it does not show up in the  Changes to be committed: 



Here is my log of commands and displays: 



login as: fidelity_camp 
fidelity_camp at nbp.org's password: 
Last login: Sat Nov  7 10:49:46 2009 from pool-173-48-252-170.bstnma.fios.verizo                    n.net 
[fidelity_camp at tp6 ~]$ cd camp 
-bash: cd: camp: No such file or directory 
[fidelity_camp at tp6 ~]$ cd camp29 
[fidelity_camp at tp6 camp29]$ dir 
bin  catalogs  cgi-bin  htdocs  httpd  interchange  pgsql  tmp 
[fidelity_camp at tp6 camp29]$ cd catalogs 
[fidelity_camp at tp6 catalogs]$ dir 
nbp 
[fidelity_camp at tp6 catalogs]$ cd nbp 
[fidelity_camp at tp6 nbp]$ dir 
catalog.cfg        estimate_uploads  logs           schema       special_pages 
catalog_local.cfg  etc               nbp.structure  scripts      templates 
custom             images            orders         session      tmp 
elist              include           pages          sitemap.xml 
error.log          jobs              products       soft_goods 
[fidelity_camp at tp6 nbp]$ cd templates 
[fidelity_camp at tp6 templates]$ git status 
# On branch master 
# Changed but not updated: 
#   (use "git add <file>..." to update what will be committed) 
#   (use "git checkout -- <file>..." to discard changes in working directory) 
# 
#       modified:   ../pages/business/index.html 
#       modified:   ../pages/education/index.html 
#       modified:   ../pages/programs/cbbc/index.html 
#       modified:   ../pages/publications/index.html 
#       modified:   ../pages/support/index.html 
#       modified:   regions/TITLE 
# 
# Untracked files: 
#   (use "git add <file>..." to include in what will be committed) 
# 
#       ../../../htdocs/nbp/images/bookstore.jpg 
#       ../../../htdocs/nbp/images/business.jpg 
#       ../../../htdocs/nbp/images/education.jpg 
#       ../../../htdocs/nbp/images/giving.jpg 
#       ../../../htdocs/nbp/images/press.jpg 
#       ../../../htdocs/nbp/images/programs.jpg 
#       ../../../htdocs/nbp/images/technology.jpg 
no changes added to commit (use "git add" and/or "git commit -a") 
[fidelity_camp at tp6 templates]$ git add TITLE 
fatal: pathspec 'catalogs/nbp/templates/TITLE' did not match any files 
[fidelity_camp at tp6 templates]$ cd regions 
[fidelity_camp at tp6 regions]$ git add TITLE 
[fidelity_camp at tp6 regions]$ git status 
# On branch master 
# Changes to be committed: 
#   (use "git reset HEAD <file>..." to unstage) 
# 
#       modified:   TITLE 
# 
# Changed but not updated: 
#   (use "git add <file>..." to update what will be committed) 
#   (use "git checkout -- <file>..." to discard changes in working directory) 
# 
#       modified:   ../../pages/business/index.html 
#       modified:   ../../pages/education/index.html 
#       modified:   ../../pages/programs/cbbc/index.html 
#       modified:   ../../pages/publications/index.html 
#       modified:   ../../pages/support/index.html 
# 
# Untracked files: 
#   (use "git add <file>..." to include in what will be committed) 
# 
#       ../../../../htdocs/nbp/images/bookstore.jpg 
#       ../../../../htdocs/nbp/images/business.jpg 
#       ../../../../htdocs/nbp/images/education.jpg 
#       ../../../../htdocs/nbp/images/giving.jpg 
#       ../../../../htdocs/nbp/images/press.jpg 
#       ../../../../htdocs/nbp/images/programs.jpg 
#       ../../../../htdocs/nbp/images/technology.jpg 
[fidelity_camp at tp6 regions]$ cd.. 
-bash: cd..: command not found 
[fidelity_camp at tp6 regions]$ cd 
[fidelity_camp at tp6 ~]$ dir 
camp26  camp28  camp29  camp30  camp31  productionfiles  tmp 
[fidelity_camp at tp6 ~]$ cd camp29 
[fidelity_camp at tp6 camp29]$ cd htdocs 
[fidelity_camp at tp6 htdocs]$ cd nbp 
[fidelity_camp at tp6 nbp]$ cd pages 
-bash: cd: pages: No such file or directory 
[fidelity_camp at tp6 nbp]$ dir 
css_backup              main_color_white.css   main_size_small.css 
css_opt                 main_color_yellow.css  master-20050615.css 
fundraising_style.css   main_font.css          master.css 
images                  main_new_styles.css    master_original.css 
junk                    main_size.css          media 
main_color_black.css    main_size_default.css  oldsite 
main_color_blue.css     main_size_large.css    poop\ dog 
main_color.css          main_size_largest.css  StylesNew.css 
main_color_default.css  main_size_medium.css 
[fidelity_camp at tp6 nbp]$ cd 
[fidelity_camp at tp6 ~]$ cd camp29 
[fidelity_camp at tp6 camp29]$ dir 
bin  catalogs  cgi-bin  htdocs  httpd  interchange  pgsql  tmp 
[fidelity_camp at tp6 camp29]$ cd cd catalogs 
-bash: cd: cd: No such file or directory 
[fidelity_camp at tp6 camp29]$ cd catalogs 
[fidelity_camp at tp6 catalogs]$ dir 
nbp 
[fidelity_camp at tp6 catalogs]$ cd nbp 
[fidelity_camp at tp6 nbp]$ dir 
catalog.cfg        error.log         include        orders    scripts      special_pages 
catalog_local.cfg  estimate_uploads  jobs           pages     session      templates 
custom             etc               logs           products  sitemap.xml  tmp 
elist              images            nbp.structure  schema    soft_goods 
[fidelity_camp at tp6 nbp]$ cd pages 
[fidelity_camp at tp6 pages]$ git add index.html 
[fidelity_camp at tp6 pages]$ cd business 
[fidelity_camp at tp6 business]$ git add index.html 
[fidelity_camp at tp6 business]$ git status 
# On branch master 
# Changes to be committed: 
#   (use "git reset HEAD <file>..." to unstage) 
# 
#       modified:   index.html 
#       modified:   ../../templates/regions/TITLE 
# 
# Changed but not updated: 
#   (use "git add <file>..." to update what will be committed) 
#   (use "git checkout -- <file>..." to discard changes in working directory) 
# 
#       modified:   ../education/index.html 
#       modified:   ../programs/cbbc/index.html 
#       modified:   ../publications/index.html 
#       modified:   ../support/index.html 
# 
# Untracked files: 
#   (use "git add <file>..." to include in what will be committed) 
# 
#       ../../../../htdocs/nbp/images/bookstore.jpg 
#       ../../../../htdocs/nbp/images/business.jpg 
#       ../../../../htdocs/nbp/images/education.jpg 
#       ../../../../htdocs/nbp/images/giving.jpg 
#       ../../../../htdocs/nbp/images/press.jpg 
#       ../../../../htdocs/nbp/images/programs.jpg 
#       ../../../../htdocs/nbp/images/technology.jpg 
[fidelity_camp at tp6 business]$ git status 
# On branch master 
# Changes to be committed: 
#   (use "git reset HEAD <file>..." to unstage) 
# 
#       modified:   index.html 
#       modified:   ../../templates/regions/TITLE 
# 
# Changed but not updated: 
#   (use "git add <file>..." to update what will be committed) 
#   (use "git checkout -- <file>..." to discard changes in working directory) 
# 
#       modified:   ../education/index.html 
#       modified:   ../programs/cbbc/index.html 
#       modified:   ../publications/index.html 
#       modified:   ../support/index.html 
# 
# Untracked files: 
#   (use "git add <file>..." to include in what will be committed) 
# 
#       ../../../../htdocs/nbp/images/bookstore.jpg 
#       ../../../../htdocs/nbp/images/business.jpg 
#       ../../../../htdocs/nbp/images/education.jpg 
#       ../../../../htdocs/nbp/images/giving.jpg 
#       ../../../../htdocs/nbp/images/press.jpg 
#       ../../../../htdocs/nbp/images/programs.jpg 
#       ../../../../htdocs/nbp/images/technology.jpg 
[fidelity_camp at tp6 business]$ cd.. 
-bash: cd..: command not found 
[fidelity_camp at tp6 business]$ git status 
# On branch master 
# Changes to be committed: 
#   (use "git reset HEAD <file>..." to unstage) 
# 
#       modified:   index.html 
#       modified:   ../../templates/regions/TITLE 
# 
# Changed but not updated: 
#   (use "git add <file>..." to update what will be committed) 
#   (use "git checkout -- <file>..." to discard changes in working directory) 
# 
#       modified:   ../education/index.html 
#       modified:   ../programs/cbbc/index.html 
#       modified:   ../publications/index.html 
#       modified:   ../support/index.html 
# 
# Untracked files: 
#   (use "git add <file>..." to include in what will be committed) 
# 
#       ../../../../htdocs/nbp/images/bookstore.jpg 
#       ../../../../htdocs/nbp/images/business.jpg 
#       ../../../../htdocs/nbp/images/education.jpg 
#       ../../../../htdocs/nbp/images/giving.jpg 
#       ../../../../htdocs/nbp/images/press.jpg 
#       ../../../../htdocs/nbp/images/programs.jpg 
#       ../../../../htdocs/nbp/images/technology.jpg 
[fidelity_camp at tp6 business]$ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nbp.org/pipermail/web-reskin/attachments/20091108/d54c0fc3/attachment-0001.html


More information about the Web-reskin mailing list