-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Instalacja git’a
sudo apt-get install git
sudo apt-get install git-core
Ściąganie repozytorium:
1. cd
2. mkdir SKS
3. cd SKS
4. gi
463F
t clone git@github.com:⟨twój login na githubie⟩/SKS.git
Błąd “Permission denied (publickey).”
Rozwiązanie znajduje się na tej stronie:
http://help.github.com/linux-key-setup/
W skrócie:
1. ssh-keygen -t rsa -C “{twój email}”
2. potwierdzać o co się da :)
3. more ~/.ssh/id_rsa.pub
4. skopiować to co się wyświetliło na stronę github’a (Account Settings→SSH Public Keys→Add another public key)
Wysyłanie swoich zmian do repozytorium:
1. git add .
2. git commit -m “Komentarz, jakiś sensowny”
3. git push origin master
Aktualizacja repozytorium (nie dziala):
1. git checkout
2. git pull
Uruchamianie strony:
1. script/server -p 3000
2. adres http://localhost:3000