They are just part of a naming convention that Git follows. Both of these names can be changed by the user and have nothing special about them. Master is the default name given to the first branch present in a Git repository when it is initialized. vs Washington Wizards Nov 26, 2022, W 110-107, 11, 5 Atlanta Hawks logo. Origin is the remote repository from where we cloned our local repository and we will be pushing and pulling changes to it. Game by game stats for Tyler Herro Washington Wizards logo. Origin and master are just two default names used commonly by Git. And now the remote repository will be the origin of our local repository. We will also have a remote-tracking branch called origin/master that will track the changes in the remote master branch. Now, if we clone this repository to our local system, then we will get a local master branch with all three commits. Suppose we have a remote repository with just a single branch called master with three commits on it. Now that we know about the general terminology, let's see what actually happens when we clone a repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |