version control - Need a Plan for Git Push/Pull -
i've started work on existing project wasn't using version control system. i've used subversion extensively, management wanted use git. learning it, , learning love it. own sanity, created git repository on windows 7 machine based on files downloaded development environment (linux) had been set me. happily committing changes master, found had change development priorities. realized branching best way go accommodate that. i've adopted "a successful git branching model", , liking far.
challenges
one: project has symbolic links broken in local git repository. want fix them, getting them git repository. have tar archives available of production code, don't know how accomplish sane merge of that. on windows use winmerge doesn't preserve symbolic links. once have repository set on development server, abandon commits windows machine , pull server?
two: project has file path goes way file system root. i've seen articles people using git versioning config files , having repository @ file system root, haven't seen example of .gitignore
file make painless possible. what's course of action this?
update #2
these rules accomplishing need:
/* # ignore in root default !.gitignore # allow file !/library # allow library !/home # allow user directories /home/* # not every user !/home/user # user /home/user/* # not user's files !/home/user/public_html # public_html files !/home/user/www # symbolic link public_html
Comments
Post a Comment