Wednesday, 15 January 2014

git - Should my projects folder and Github folder be the same? -



git - Should my projects folder and Github folder be the same? -

i'm new github , wanted find out if it's bad practise utilize projects folder (from i'm working in) same folder github scans changes?

right work in projects folder, create changes needed. when want commit re-create contents of folder github folder contains branch. commit these changes. i'm asking is, ok point github projects folder instead of doing this.

thanks.

this ok you're missing point (elegance) of git regards working in separate folder copying original. take @ branching, they're free , easy first class citizen in git , 1 of real strengths of product.

github has no notion of scanning changes. git distributed version command scheme (dvcs). there no connection remote repository machine until explicitly execute command such push, pull, clone etc. github repository 1 of potentially many local repository can connected to.

there huge number of resources out there regarding git seek think git addresses in 1 section notion of making physical copies of folder structures , getting head around why isn't required.

git github

No comments:

Post a Comment