Week 1 / Web Page _ Git , Final Project

Here is code for start git.

 

To start your own web page you need a git account and ssh key

you have to type this to generate your ssh key

 

ssh-keygen -t rsa -C "$your_email"

 

than you will see some random art work and copy with this code

 

in case of you using windows type this to copy ssh key

 

Windows:

clip < ~/.ssh/id_rsa.pub

 

Mac:

pbcopy < ~/.ssh/id_rsa.pub

 

GNU/Linux (requires xclip):

xclip -sel clip < ~/.ssh/id_rsa.pub

 

and after that follow  this tutorial to paste your ssh key to your git account link

 

after that you have to copy your labs repository.

 

git clone git@git.fabacademy.org:fabacademy2016/yourlab.git

 

than type yes and hit enter to star download.

 

below is overall procedure of git.

 

After download whole things is ready to push your beautiful web page!

 

to upload your webpage you have to enter your repository folder through git.

 

in my case

 

copy all the folder in to my git folder (you have to find your fab academy student number folder)

 

cd Desktop

 

cd fac

 

git pull

 

git merge

 

git status

 

git add .

 

git status

 

git commit -m "uzon web upload"

 

git push

 

git status

 

You don't have to enter your folder(mine is number 62 folder).

 

Back to home