Bash команды для GIT

Самые базовые команды Bash которые пригодятся для работы в Git

Больше различных Bash команд вы можете изучить в статьях «Основы Bash» «Bash для тестровщиков» «Bash Скрипты»

Узнать текущую директорию

$ pwd

/c/Users/aolegovich

Изменить директорию

$ cd /c/Users/aolegovich/Desktop/Sites

Проверить, изменилась ли директория

$ pwd

/c/Users/aolegovich/Desktop/Sites

Создать директорию

$ mkdir "hello-world"

Посмотреть содержимое директории

$ ls

hello-world/

Изменить директорию

$ cd hello-world/

Создать файл

$ touch "index.html"

Изменить директорию

$ cd /c/Users/aolegovich/Desktop/Sites

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: