User Tools

Site Tools


programming:git
    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. 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: 2016/08/07 16:52 by Jan Forman