Repository for training GIT session
|
hace 7 años | |
---|---|---|
exercices | hace 7 años | |
sheets | hace 7 años | |
slides | hace 7 años | |
.gitignore | hace 7 años | |
Git_ELIC.pdf | hace 7 años | |
LICENSE | hace 7 años | |
README.md | hace 7 años |
Repository for training Git session
Prepare your environment for the first use of Git.
For instance:
git config --global user.name "My name"
git config --global user.email "my_mail@uclouvain.be"
git config --global color.ui auto
git config --global core.editor "vim"
git config --global push.default simple
Clone the Git_Training repository.
For instance:
git clone http://my_login@www.climate.be:3000/TECLIM/Git_Training.git
Or:
[ ! -f ~/.ssh/id_rsa.pub ] && ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub | xclip -sel clip
Paste in GOGS: ssh-keys tab (Settings), and:
git clone ssh://git@www.climate.be:3022/TECLIM/Git_Training.git
This project is under the Creative Commons CC0 1.0 Universal License. See the LICENSE file for the full license text.