|
|
Turn existing project into git repo
|
|
|
|
|
|
`
|
|
|
cd existing_folder
|
|
|
`cd existing_folder
|
|
|
git init
|
|
|
git remote add origin https://gitlab.qub.ac.uk/GROUP/REPO.git
|
|
|
git add .
|
|
|
git commit -m "Initial commit"
|
|
|
git push -u origin master
|
|
|
`
|
|
|
git push -u origin master`
|
|
|
|
|
|
add all changes to staging (for commit)
|
|
|
|
... | ... | @@ -28,4 +26,5 @@ push repo to Gitlib |
|
|
download repo from Gitliab (for new development or setting up live app)
|
|
|
|
|
|
`cd project_parent_folder`
|
|
|
|
|
|
`git clone https://gitlab.qub.ac.uk/GROUP/REPO.git` |
|
|
\ No newline at end of file |