Docs
Search…
Git @APEER
Git is the free and open source distributed version control system for tracking changes in source code during software development. Here you are learning the basic commands you'll need for APEER.
Whenever you change Git-managed content, Git records it and stores the history of every change you’ve made. As a user of APEER, you just need four Git commands to copy, manage and upload your code to the platform.
  1. 1.
    To copy all code for a module to your local machine; in technical terms, to retrieve entire repository from a hosted location
    1
    git clone APEER_generated_link_for_the_module_code
    Copied!
  2. 2.
    Make changes to your code on the local machine, then add it to your next commit by typing
    1
    git add file_name_where_you_made_changes #for single files
    Copied!
    or
    1
    git add --all #for all files in your repository
    Copied!
  3. 3.
    To commit your added content as a new commit snapshot
    1
    git commit –m “any custom message you want to add”
    Copied!
  4. 4.
    To transmit local commits to the remote repository
    1
    git push
    Copied!
Last modified 2yr ago
Copy link