Whereas SVN depends on the relationship between the central repository and the working copy, Git’s collaboration model is based on repository-to-repository interaction. This makes collaborating with Git fundamentally different than with SVN. Unlike SVN, Git makes no distinction between the working copies and the central repository-they're all full-fledged Git repositories. It’s important to understand that Git’s idea of a “working copy” is very different from the working copy you get by checking out source code from an SVN repository. Executing git add -all will take any changed and untracked files in the repo and add them to the repo and update the repo's working tree. Another common use case for git add is the -all option. This was a very limited example, but both commands are covered more in depth on the git add and git commit pages. This example introduced two additional git commands: add and commit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |