User Tools

Site Tools

    1. Sign on to SSH as root: ssh root@your_nas_ip
    2. Create the folder for your repository:  mkdir /opt/git/what_ever && cd /opt/git/what_ever
    3. Initialise the repository: git – bare init
    4. Exit SSH (exit)
    5. Navigate to the local git project folder: cd projects/etc
    6. git init + Add the remote repo: git remote add origin ssh://root@your_nas_ip/opt/git/what_ever
    7. Populate the remote repository: git push origin master (using your admin password)."
programming/git.txt · Last modified: 2018/04/03 15:11 by Jan Forman