Search

Git ์„ค์น˜ On Ubuntu

Git ์„ค์น˜ On Ubuntu

Git ์„ค์น˜

sudo apt install git
Bash
๋ณต์‚ฌ

์„ค์น˜ ๋ฐ ๋ฒ„์ „ ํ™•์ธ

git --version
Bash
๋ณต์‚ฌ

git clone

git clone https://github.com/ALOHA-CLASS/HelloSpringBoot
Bash
๋ณต์‚ฌ
github ์—์„œ fork ํ•ด์„œ, fork ํ•œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋กœ ์‹œ๋„ํ•ด๋ณด์„ธ์š”.
HelloSpringBoot
ALOHA-CLASS

์ฝ”๋“œ ์ˆ˜์ •

index.html ์ˆ˜์ •

git add

๋ชจ๋“  ๋ณ€๊ฒฝ์‚ฌํ•ญ ์Šคํ…Œ์ด์ง•์— ์ ์šฉ
git add .
Bash
๋ณต์‚ฌ

git commit

git commit -m 'updated index.html'
Bash
๋ณต์‚ฌ

git push

git push
Bash
๋ณต์‚ฌ
username : (github username) password : github token