


You'll see that the local site has a "Chaos Tool Suite" section, while the live site does not.

We can verify that by going to the "/admin/modules" page on our local site, and live site. Verify that the Change is in the Local Repo but not in the Live Repo When that's done, "git status" will show that the branch is up-to-date and there's nothing to commit. Renaming branches To rename a branch, you'd use the same git push command, but you would add one more argument: the name of the new branch. When I do, you'll see the push take place in the terminal. As an example, you usually run git push origin main to push your local changes to your online repository. I'll follow that recommendation and type "git push" and press Enter. This tells us that our local repo is ahead of the central repo by 1 commit, and tells us that we can use the "git push" command to push our changes. Nothing to commit, working directory clean (use "git push" to publish your local commits) Your branch is ahead of 'origin/master' by 1 commit. Now typing "git status" will show the message:
#GIT PUSH FILES TO NEW REPOSITORY UPDATE#
(I'll use Drush to download the 7.x-1.5 release so that in a later video we can update it and compare the new code to the old code.) Create a branch using the Git branch command. To begin, I'll download the ctools module. Make a Change to the Codebase and Commit it to the Local Repo kala" with the username "admin", and the live site opened in another tab where the domain is "mygitwebsite. Also, I've got my local site opened in a tab where the domain is "mygitwebsite. I'll also rename the tabs "Local" and "Remote - Live" so that it's easier to follow which location the commands are being typed in. To make things a little easier to follow, I'll open the local and live repos in separate terminal tabs. Now that we have our repositories setup and connected to the central remote, we can work on our local copy, and push our changes once we are happy with the results.
