Git configure & terminal command for mac
1. Terminal command
- Show folder list:
ls
- Enter any folder directory:
cd folder_name
- Create new folder:
mkdir foler_name
- Back from current directory to previous directory:
cd ..
- Delete file:
rm file_name
- Delete folder:
rm -r folder_name
- Delete multiple folder:
rm -r folder1 folder2 folder3
- Create new file:
touch file_name.extension (example: Test.txt)
- Write new text in text file:
echo “your_text” > file_name.extension
- Showing text file text:
cat file_name.extension
- Return root directory:
cd ~
- Show all folder/file also hidden using:
ls -a
- Open any file:
open file_name
- Clone github repository:
git clone github_url
Git configuration with setup SSH key in github
1. Step_01:
If you don’t have git then install it from git-scm.com. After install it check the git version using command: git –version
2. Step_02:
After successfully install git then config your name & email using command:
- For name:
git config --global user.name "your name here"
- For email:
git config --global user.email "your email here"
N.B: This name and email setup for global, you can setup it for local or system using just –local & –system - Check setup user name using command:
git config user.name
- Check setup user email using command:
git config user.email
N.B: If you want clear name and email just using this command:git config --global --unset user.name
&git config --global --unset user.email
3. Step_03:
Now we will create SSH(Secure Shell)
key. It’s stands for communication protocol where one computer communication with another computer securely. Suppose you want to communicate with github then you can use SSH key. if you want to clone without setup SSH key then you get error. Now setup SSH key then clone your repository using:
- Check has SSH folder using command:
cd .ssh
- If you have ssh folder then check has any ssh key using command:
ls
- If you don’t have ssh folder then create it using command:
mkdir .ssh
- If you don’t have ssh key then create it using command:
ssh-keygen -o -t rsa -C write_your_email_here
- Now open public key file using command:
cat id_rsa.pub
4. Step_04:
Go to github settings and select SSH & GPG
key menu bar, click new ssh key button and paste your key. give any name title like: my macbook.
Now you can clone any repository from terminal using SSH github repository url. Copy your repository ssh url & paste your terminal using command: git clone ssh_github_repository_url
and finally press enter button then you will see like this:
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes (type yes and press enter).
I really enjoyed this article. Your writing style is engaging and the information you provided is very useful. The detailed explanations and practical examples made it easy to follow along. Thank you for creating such a valuable resource.
Full Article [url=https://isrufus.org]Rufus usb[/url]
[url=https://opt24.store/product-category/pechene_i_vafli/pechene/ ]купить оптом печенье от производителя[/url] – monster energy оптом, купить батончик марс оптом
[url=https://mounjaro-kupit.su/]mounjaro тирзепатид[/url] – мунжаро цена, мунжаро +для похудения купить
[url=https://blacksprut-sait.top/]блек спрут оригинальная ссылка[/url] – блэкспрут сайт, спрут как попасть на сайт
https://blacksprut-sait.top – blacksprut onion, блэкспрут ссылка
https://bs4shop.top/ – blacksprut onion, блек спрут оригинальная ссылка
[url=https://mounjaro-5mg.ru/mundzharo]mounjaro купить +в спб[/url] – mounjaro купить +в турции, mounjaro купить
[url=https://mounjaro-medical.ru]тирзепатид купить +в екатеринбурге[/url] – мунжаро дозировка, тирзепатид отзывы
Get the facts [url=https://jaxxliberty.io]jaxx io[/url]
you can try this out [url=https://torbrowser.network]Tor browser[/url]
[url=https://bs4shop.top/]блэкспрут 2fa[/url] – блэк спрут ссылка, 2fa blacksprut
[url=https://blacksprut-sait.top]блэкспрут сайт[/url] – блэкспрут сайт, blacksprut onion
webpage [url=https://crackzipraronline.com]zip rar[/url]
click here now [url=https://my-jaxxwallet.io]jaxx wallet recovery[/url]
More Bonuses https://jaxxliberty.io/
[url=https://t.me/ozempic_zakazat/]саксенда +для похудения[/url] – препарат тирзепатид, дулаглутид инструкция +по применению
[url=https://t.me/ozempicg/]оземпик инструкция купить[/url] – мунжаро купить +в москве +в аптеке, семаглутид отзывы пациентов
[url=https://mounjaro-5mg.ru/mundzharo/]mounjaro[/url] – mounjaro buy, mounjaro tirzepatide цена
Learn More https://my-jaxxwallet.io
[url=https://installs.info]купить установки на мой exe[/url] – продажа инсталлов, файловый трафик
https://blacksprut-sait.top/ – блэкспрут даркнет, блек спрут оригинальная ссылка
ссылка на сайт https://bc2cite.at
di97ua
Trong lĩnh vực cá cược bóng đá, ty le keo nhà cai là một yếu tố quan trọng mà mọi người chơi cần phải hiểu rõ.
Blood was collected from the inferior vena cava priligy seratonin Paduch DA, Brannigan RE, Fuchs EF, Kim ED, Marmar JL, Sandlow JI
Also the rate of bone relating complications is lower priligy at walgreens