Git (revision control): Will i have to initialize other folders/directories which are in my master repository?
-
Hi all, Few days back i started to learn about git , so i m very beginner for git and i never used any kind of version control before it what exactly i want to do is that ----- want to use git for tracking my project local (offline) for this i made my main folder/directory called "project" and by using $git init , i initialized it as a git repository now in project directory i made 3 sub directories or folder called design css images will i have to initialize other folders/directories which are in my master repository ? any suggestion also for tracking my project local (offline) will be helpful for me Thanks Jamna
-
Answer:
No, you won't need to initialize (i.e, doing a git init inside) the sub-directories of "project" (the directory in which you did git init). But you will need to add any files, inside "project" and its sub-directories, which you want to track using git add command. http://git-scm.com/book provides a very good introduction of the various features of git. Reading it would be quite helpful.
Kinshuk Sarabhai at Quora Visit the source
Related Q & A:
- How do I back up my Mail folders in Mail Plus?Best solution by pcmech.com
- How do I transfer all of my folders and contacts from my Yahoo SBCglobal account to another email address?Best solution by Yahoo! Answers
- If I have Ph.D., but willing to accept Master's degree level wage, will I get hired into MA level jobs?Best solution by Yahoo! Answers
- How do i retrieve my old contacts folders?Best solution by Yahoo! Answers
- Can you remote control an i-phone from a computer?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.