Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Global setup
- git config --global user.name "Andrea"
- git config --global user.email "stilografico.it@gmail.com"
- Create a new repository
- git clone git@gitlab.com:stilografico/test2.git
- cd test2
- 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@gitlab.com:stilografico/test2.git
- git add .
- git commit
- git push -u origin master
- Clone repository on localmachine
- git clone git@gitlab.com:stilografico/test2.git
- cd existing_repo
- git remote add origin git@gitlab.com:stilografico/test2.git
- git push -u origin --all
- git push -u origin --tags
- Caricamento Progetto su Repository da existing folder
- git init;
- git remote add origin git@gitlab.com:stilografico/bardianicsf.git;
- git add .;
- git commit -m 'Master Pubblished'; git push -u origin master;
- git add .; git commit -m 'commento'; git push -u origin master;
- Configurare un nuovo remote [git@bitbucket.org:cobaltodev/gruppodallagrassa.it.git] -----> รจ il nuovo remote
- git remote set-url origin git@bitbucket.org:cobaltodev/gruppodallagrassa.it.git
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement