How To Push Your Project To A DirectAdmin Repository Using Git
1.6 هزار بار بازدید -
2 سال پیش
-
A video of me trying
A video of me trying to explain how to connect and push a desired project to a remote DirectAdmin repository.
Here are the commands I used in this video (I think 😅)
1. To Generate A SSH Key:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
2. To Initialize/Add Git To Your Desired Project:
git init
3. To Add All Files:
git add .
4. To Commit All Added Files:
git commit -m "(your message goes here)"
5. To Add The DirectAdmin Repository:
git remote add origin [email protected]:example/example.git
6. To Create A Branch That You Can Push:
git branch -M main
7. To Create The SSH Config File:
touch config
If you have any feedback or questions, don't hesitate to ask. Thanks!
I hope that this video helps/helped you.
Here are the commands I used in this video (I think 😅)
1. To Generate A SSH Key:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
2. To Initialize/Add Git To Your Desired Project:
git init
3. To Add All Files:
git add .
4. To Commit All Added Files:
git commit -m "(your message goes here)"
5. To Add The DirectAdmin Repository:
git remote add origin [email protected]:example/example.git
6. To Create A Branch That You Can Push:
git branch -M main
7. To Create The SSH Config File:
touch config
If you have any feedback or questions, don't hesitate to ask. Thanks!
I hope that this video helps/helped you.
2 سال پیش
در تاریخ 1401/11/28 منتشر شده
است.
1,669
بـار بازدید شده