By default Git is completely local to your computer. You can optionally have remote copies of the repository (either on a central server or service—like Github—or on a co-workers computer).
To get your copy of the repository up to a remote server you use the command
git-push
. If you want to retrieve others’ changes to the repository you use git-pull
.
A Remote Repository in Git is a special type of repository in that it doesn't have a Working Tree. This is different than your local repository, which has your project files and then a hidden
.git
directory.
0 comments:
Post a Comment