Repository for training GIT session
|
7 năm trước cách đây | |
---|---|---|
exercices | 7 năm trước cách đây | |
sheets | 7 năm trước cách đây | |
slides | 7 năm trước cách đây | |
.gitignore | 7 năm trước cách đây | |
Git_ELIC.pdf | 7 năm trước cách đây | |
LICENSE | 7 năm trước cách đây | |
README.md | 7 năm trước cách đây |
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.