Saturday, 15 January 2011

wordpress - Git: problems creating a repository -



wordpress - Git: problems creating a repository -

i'm attempting incorporate wordpress website git.

i've created local repository through github mac, , i've edited "primary remote repository" https url under settings tab, after i've applied ignore patterns.

so far has worked.

however, when @ items under changes tab, i'm seeing entries ".gitignore" file , in "wp-content" folder nil above it.

i don't think it's ignore patterns because of default wordpress templates in there, , load of os items, each of have been ignored, understand ignore patterns won't applied until after commit.

at bottom of list of entries commit, path right , not within "wp-content" folder.

so why things "wp-admin" , "wp-config.php" — or other root item — missing?

is there maximum length number of items github mac can show, if so, why show "wp-content" when other items precede in alphabetical order?

i'm bit confused what's happening. @ point, nil has been committed, , i'm hesitant if part of website missing.

this section that's causing it:

#===================================# # wp core, except content # #===================================# /* !.gitignore !wp-content/ # !media/ !favicon.ico !favicon.png !robots.txt !humans.txt

notice leading /*. means it's ignoring default. the documentation:

a leading slash matches origin of pathname.

the wildcard * tells match in path.

the exclamation point ! refers items explicitly should not ignored.

wordpress git github

No comments:

Post a Comment