![git add remote of zip download git add remote of zip download](https://cdn.ttgtmedia.com/rms/onlineImages/SideCOM_git-reflog-before-git-remote-add-origin_001_half_column_mobile.jpg)
Branches are generally created off of master.
#Git add remote of zip download code#
Master: this is the main code branch, equivalent to trunk in Subversion. The pull command executes git fetch, which retrieves the actual changes followed by git merge, putting the changes in your codebase. Use this command when you want to make sure your local branch is all caught up with changes push'ed to the remote branch. Git pull is the command that brings your current local branch up-to-date with the state of the remote branch on github. Nothing you do locally will have any affect outside your workstation until you push your changes. Git push is the command that changes the state of the remote code branch. Your work becomes part of the history of the public "DS-123" branch on github. This command pushes the current state of your local repository, including all commits, up to github ("origin" repository). In the below example, we've called this directory "dspace-src", but you can call it whatever you want. ), but this source code directory also is a valid local git repository.
#Git add remote of zip download download#
This is how you download a copy of the DSpace Source Code (i.e. Get a copy of the central storage facility (the repository).
![git add remote of zip download git add remote of zip download](https://exchangedomino.files.wordpress.com/2020/04/capture-5.jpg)
Git allows a developer to copy a remote subversion repository to a local instance on their workstation, do all their work and commits in that local repository, then push the state of that repository back to a central facility ( github).īearing in mind that you will always being doing your work and commits locally, a typical session looks like this: ( Borrowed from Fedora's Git Guidelines and Best Practices)
![git add remote of zip download git add remote of zip download](http://ghostcode.in/wp-content/uploads/2016/09/12-Define-remote.png)
Pro-Git Book (Online) -> Great intro to Git in general.A list of some possibly useful external Git resources: ( Feel free to add to the list)