README.md 957 Bytes
Newer Older
Maxime Robin's avatar
Maxime Robin committed
1 2
=========================  R E A D   M E   ========================= 
====================================================================
Maxime Robin's avatar
Maxime Robin committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

Git global setup
        
        git config --global user.name "Maxime Robin"
        git config --global user.email "maxime.robin@etu.unistra.fr"

Create a new repository

        git clone git@icube-forge.unistra.fr:maxime.robin/test_project.git
        cd test_project
        touch README.md
        git add README.md
        git commit -m "add README"
        git push -u origin master

Existing folder

        cd existing_folder
        git init
        git remote add origin git@icube-forge.unistra.fr:maxime.robin/test_project.git
        git add .
        git commit
        git push -u origin master

Existing Git repository

        cd existing_repo
        git remote add origin git@icube-forge.unistra.fr:maxime.robin/test_project.git
        git push -u origin --all
        git push -u origin --tags