How to initiate git through ssh
Let us look step by step
step 1 : login into ssh
step 2 : create a folder using mkdir commend and change to that folder
step 3 : write below comment to initate as a master branch
git init –bare
step 4 : change window.pack to 0
git config pack.window 0
step 5 : clone to local machine using
git clone email@example.com:/home/folder name(if needed)
step 5 : make changes
create a read me file and commit
git add .
git commit -am “intial commit ”
step 6 : push server
git push origin master
(before that make sure you take a pull from server git pull origin master)
step 7 :
Auto update in server
cd ~/public_html/folder|| exit
git pull origin master
8,940 total views, 2 views today
May 21, 2015 at 5:12 am
Yes! Finally someone writes about совершить.
May 21, 2015 at 11:46 am
I really like looking through a post that will make men and women think.
Also, thanks for allowing for me to comment!
July 5, 2015 at 11:47 pm
Hmm is anyone else having problems with the images on this blog loading?
I’m trying to determine if its a problem on my end or if it’s the blog.
Any responses would be greatly appreciated.