*------------------------Git Intro... ------------------------------------ 1. clone the project: git clone git@gitlab.control.lth.se:farid/thesis.git 2. cd thesis 3. ls 4. having an up-to-date directory... (REMOTE = origin, NAME-OF-BRANCH = master) git pull REMOTE NAME-OF-BRANCH -u 5. create file in the directory touch "name of the file" 6. git add "name of the file" 7. git commit -a (or -m) "short description" 8. send all the changes to gitlab.com git push -------------------------------------------------------------------- * Moving files from computer to the GIT repository 1. mv /home/faridalijani/ "name of the folder" . 2. git add "name of the folder" 3. git commit -m "short descr." 4. git push -------------------------------------------------------------------- * Everyday when u make some changes to the directory u're working with, u can follow these instructions to save the projects in the gitlab.control.lth.se 1. git add "name of the FOLDER" 2. git commit -m "short descr. of u've done in that day" 3. git push
Select Git revision