![]() This means that you can read them but cannot copy nor edit them. IMPORTANT: If the repository was created using GIN client v1.6 or below (check gin -version) all large files (default >10MB) are automatically gin-annexed and are now locked. You can also check that the new files have been uploaded by logging into the GIN Server and clicking on the name of the newly created repository. gin uploadĬheck the files in the local workspace along with their sync status using gin ls. Such changes can be synchronized without uploading any new files by not specifying any files or directories. Therefore, if you delete files from the directory on your computer and perform a gin upload, the deletion will also be sent and the file will be removed from the server as well. This command sends all changes made in the directory to the server, including deletions, renames, etc. Note that upload here doesn't only mean sending new files and changes to the server. ![]() This will upload changes made to two files: file1.data and recording1.h5, where the latter is in the recordings directory. ![]() For example: gin upload file1.data recordings/recording1.h5 You can instead upload individual files or directories by listing them on the command line. that follows the upload command specifies that you want to upload every file in the current directory and below. the changes are saved and uploaded and a checkpoint is made of your data. In other words, it will detect the new files in the directory, add them to the repository, and start uploading to the GIN server. Note the period at the end of the command. In the GIN client (terminal) window, navigate into the newly created local workspace by typing cd. With either method, the repository is created on the server under your username and directly copied to the local machine into a directory with the same name as the repository ( ).Ĭopy new files into the newly created directory via Drag & Drop, Copy & Paste etc. If you desire to change the location of your GIN repositories, use bash commands like cd, pwd, ls. The path :~/Desktop$ will create the repository on the Desktop. With your repository name already exists locally.īe aware: The path you have selected when executing gin get or gin create will be the path or location where your repository will be created. Note that the command will fail with an error if a directory ![]() This can be done in two ways: via the website or via the previously downloaded/installed GIN client (See Setup above).Ĭreate a new repository using the "+" on the top right.įor example, if your username is "ABC" and you have created a repository named "XYZ", the command would be gin get ABC/XYZ. Open a terminal (Unix) or run the GIN client (Windows) and type gin -version to make sure it is properly installed and working.Ĭreate a new repository on the GIN server and a local workspace.Basic Workflow (only using GIN) The Workflow If you want to quickly look up some quick short commands for accomplishing common tasks, have a look at the GIN client recipes page. Whether you are an expert user or a beginner, our list of all GIN commands with a short description of their purpose and functionality might become useful at some point. Check whether everything is working properly by typing gin -version.If entered correctly, you will be greeted with a confirmation message. The command will prompt you for a username and password. Sign in with the client using gin login.Download and install the GIN Client distribution for your operating system.Here, you can find all the information on how to setup GIN locally. ![]() This is why we wrote an extra GIN client setup guide. The proper setup of a local GIN client is important and can be confusing at first. ![]()
0 Comments
Leave a Reply. |