persianasfen.blogg.se

Automatic git annex sync
Automatic git annex sync















First, change your working directory to the file location where you want to clone the project with the command. Here I have the taken example of the Opencart GitHub project.

#AUTOMATIC GIT ANNEX SYNC HOW TO#

Now, let me walk you through how to sync your changes with other changes by other developers. If you don't, this will cause conflicts while you raise a PULL REQUEST. And if there are files in the local repository that do not exist in the remote repo, local files get removed Synching will override the local repository with a master remote repository. This is very much necessary if you are working in a team and the teammates are working on different aspects of the project and you yourselves are working on something,Ĭertain files will differ in both repositories as there are many other developers are merging the code upstream and your branch will not have that changes unless you sync the repository with the current upstream, so you might need to keep up with their code changes as well, this is called syncing your changes with your local and remote repo.

automatic git annex sync

So, Why do we need this process to be done? ** NOTE : When we made any CLONE/PULL for the first time this is not required as we do fork the repository for the first time all the content in both will be the same.** Upstream branches define the branch tracked on the remote repository by your local remote branch (also called the remote-tracking branch), the below figure will help ya'll understand.

automatic git annex sync automatic git annex sync

Now, you might think what is an upstream branch, Today we will focus on how we can synchronize our GitHub local repository master with an upstream repository branch of the GitHub project.















Automatic git annex sync