[Github] remote: Repository not found. ์—๋Ÿฌ ํ•ด๊ฒฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
Fetching originremote: Repository not found.fatal: repository 'https://github.com/{๋ ˆํฌ์ง€ํ† ๋ฆฌ ๊ฒฝ๋กœ}.git/' not founderror: Could not fetch origin๋ ˆํฌ์ง€ํ† ๋ฆฌ์™€ ์—ฐ๊ฒฐ์„ ๋Š๊ณ  ๋‹ค์‹œ ์—ฐ๊ฒฐ์„ ํ•ด์ค˜์•ผํ•จ.#๋ ˆํฌ์ง€ํ† ๋ฆฌ์™€ ์—ฐ๊ฒฐ ํ•ด์ œgit remote remove origin#์žฌ์—ฐ๊ฒฐgit remote add origin https://{๊นƒํ—ˆ๋ธŒ ์œ ์ €๋ช…}:{๊นƒํ—ˆ๋ธŒ ssh key}@github.com/{๋ ˆํฌ์ง€ํ† ๋ฆฌ ๊ฒฝ๋กœ}.git
[Github] Git branch ๊ด€๋ฆฌ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
# ๋ธŒ๋ Œ์น˜ ๋ชฉ๋กgit branch# ๋ธŒ๋ Œ์น˜ ์ „์ฒด ๋ชฉ๋กgit branch -a# ๋ธŒ๋ Œ์น˜ ์ƒ์„ฑ/์ด๋™git checkout -b {๋ธŒ๋ Œ์น˜ ์ด๋ฆ„}# ์›๊ฒฉ ์ €์žฅ์†Œ๋กœ pushgit push -u origin {๋ธŒ๋ Œ์น˜ ์ด๋ฆ„} ์ƒˆ๋กœ ์ƒ์„ฑํ•œ ๋ธŒ๋ Œ์น˜๊ฐ€ ๋ชฉ๋ก์— ์•ˆ ๋ณด์ผ๋•Œ# ์—…๋ฐ์ดํŠธgit remote update# ๋ชฉ๋ก ๋ณด๊ธฐgit branch -a ์‚ญ์ œํ•œ ์›๊ฒฉ ๋ธŒ๋ Œ์น˜๊ฐ€ ๋ชฉ๋ก์— ๋…ธ์ถœ๋ ๋•Œ# ์›๊ฒฉ ์ €์žฅ์†Œ์˜ ์‚ญ์ œํ•œ ๋ธŒ๋ Œ์น˜ ์ •๋ฆฌgit fetch --all --prune ๋กœ์ปฌ ๋ธŒ๋ Œ์น˜ ์ •๋ฆฌํ• ๋•Œ# ๋กœ์ปฌ ๋ธŒ๋ Œ์น˜ ๋ชจ๋‘ ์‚ญ์ œgit branch | grep -v '^*' | xargs git branch -d# merge๋˜์ง€ ์•Š์€ ๋ธŒ๋ Œ์น˜๊นŒ์ง€ ๊ฐ•์ œ ์‚ญ์ œgit branch | grep -v '^*' | xargs git branch -D ์ปค๋ฐ‹ ๊ด€๋ฆฌ#..
[GitHub] ๋งฅ๋ถ์—์„œ ๊นƒํ—ˆ๋ธŒ์— ํ”„๋กœ์ ํŠธ ์˜ฌ๋ฆฌ๊ธฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
1. ํ„ฐ๋ฏธ๋„์—์„œ ์—…๋กœ๋“œํ•  ํ”„๋กœ์ ํŠธ๋กœ ๊ฒฝ๋กœ ๋ณ€๊ฒฝ 2. ๊นƒํ—ˆ๋ธŒ ํŒŒ์ผ ์ƒ์„ฑํ•˜๊ธฐ git init 3. ํ˜„์žฌ ํŒŒ์ผ ์ €์žฅ git add . git commit -m "์ปค๋ฐ‹ ๋ฉ”์„ธ์ง€" 4. GitHub์—์„œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์ƒ์„ฑ 5. 4์—์„œ ์ƒ์„ฑํ•œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋กœ ์—ฐ๊ฒฐ git remote add origin {4์—์„œ ์ƒ์„ฑํ•œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์ฃผ์†Œ} 6. ์—ฐ๊ฒฐ๋œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ํ™•์ธ git remote -v 7. ์—ฐ๊ฒฐ๋œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์— ํ‘ธ์‹œ git push
[Github] git@github.com: Permission denied (publickey). ์—๋Ÿฌ ํ•ด๊ฒฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
git push ๋˜๋Š” git pull ํ•  ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ์ƒˆ๋กœ ssh key๋ฅผ ๋งŒ๋“ค์–ด์ค˜์•ผ ํ•จ. ssh key ์ƒ์„ฑ ssh-keygen -t rsa -C "{๋ณธ์ธ์˜ ๊นƒํ—ˆ๋ธŒ ์ด๋ฉ”์ผ}" ์œ„ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋จ. 1. ssh key ์ €์žฅ ์œ„์น˜ ์ง€์ • (์—”ํ„ฐํ•˜๋ฉด ๊ธฐ๋ณธ ์ง€์ •๋œ ์œ„์น˜์— ์ €์žฅ) 2. ๋น„๋ฐ€๋ฒˆํ˜ธ ์ง€์ • (์—”ํ„ฐํ•ด์„œ ๋„˜๊ธฐ๊ธฐ ๊ฐ€๋Šฅ) sshํ‚ค ํ™•์ธํ•˜๊ธฐ cat ~/.ssh/id_rsa.pub ์œ„ ๋ช…๋ น์–ด๋กœ ๋‚˜์˜จ ํ‚ค..
[Github] ๊นƒ(git) ์‚ฌ์šฉํ•˜๊ธฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
์ƒํƒœ #๊นƒ ์ƒํƒœ ํ™•์ธ git status ํด๋ก  (clone) #๊ธฐ๋ณธ master ๋ธŒ๋ Œ์น˜ ํด๋ก  git clone {git ์ €์žฅ์†Œ URL} {์ƒ์„ฑํ•  ํด๋”๋ช…} #ํŠน์ • ๋ธŒ๋ Œ์น˜ ํด๋ก  git clone -b {branch_name} --single-branch {git ์ €์žฅ์†Œ URL} {์ƒ์„ฑํ•  ํด๋”๋ช…} - {์ƒ์„ฑํ•  ํด๋”๋ช…}์„ ์ ์ง€์•Š์œผ๋ฉด git์œผ๋กœ ๋ถˆ๋Ÿฌ์˜ค๋Š” repository์˜ ์ด๋ฆ„์œผ๋กœ ์ƒ์„ฑ๋จ ์ปค๋ฐ‹ (commit) git commit -m "์ปค๋ฐ‹ ๋ฉ”๋ชจ" ํ‘ธ์‹œ (push) #master ๋ธŒ๋ Œ์น˜์— push git push origin master #ํŠน์ • ๋ธŒ๋ Œ์น˜์— push git push origin {๋ธŒ๋ Œ์น˜ ์ด๋ฆ„} ํ’€ (pull) #์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” ๋ธŒ๋ Œ์น˜ pull git pull #ํŠน์ • ๋ธŒ๋ Œ์น˜ pull git pull o..
[Eclipse] TODO Auto-generated method stub ์ฃผ์„ ์ œ๊ฑฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
[Eclipse] ํ…Œ๋งˆ ๋ณ€๊ฒฝํ•˜๊ธฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
์–ด๋‘์šด ํ…Œ๋งˆ๋กœ ๋ณ€๊ฒฝ ํŽธ์ง‘์ฐฝ ํฐํŠธ ํฌ๊ธฐ ๋ณ€๊ฒฝ ctrl + +,-
[Eclipse] ์†Œ์ŠคํŒŒ์ผ export, import
ยท
๐Ÿ“ETC./โš’๏ธ Tool
์†Œ์ŠคํŒŒ์ผ ๋‚ด๋ณด๋‚ด๊ธฐ(export) - ์ƒ๋‹จ ๋ฉ”๋‰ด์˜ [File]์ด๋‚˜ [Package Explorer]์—์„œ [Export...] ํด๋ฆญ ์†Œ์ŠคํŒŒ์ผ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ(import) - ์ƒ๋‹จ ๋ฉ”๋‰ด์˜ [File]์ด๋‚˜ [Package Explorer]์—์„œ [Import...] ํด๋ฆญ
[GitHub] ๊นƒํ—ˆ๋ธŒ์— ํ”„๋กœ์ ํŠธ ์˜ฌ๋ฆฌ๊ธฐ
ยท
๐Ÿ“ETC./โš’๏ธ Tool
๋ณดํ†ต์€ ์ €์žฅ์†Œ๋ฅผ ์ƒ์„ฑํ•œ๋’ค 'Upload files'๋ฅผ ํ•˜๋ฉด ์—…๋กœ๋“œ๋˜์ง€๋งŒํŒŒ์ผ ๊ฐฏ์ˆ˜๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์„ ๊ฒฝ์šฐ ์•ˆ๋˜๋ฏ€๋กœํฐ ํ”„๋กœ์ ํŠธ๋ฅผ ์—…๋กœ๋“œํ• ๋•Œ๋Š” ์ด ๋ฐฉ๋ฒ•์œผ๋กœ ํ•˜์ž    1. Git์„ ์„ค์น˜ํ•œ๋‹ค.https://git-scm.com/downloads Git - DownloadsDownloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific ..
[Eclipse] ๊ฒช์—ˆ๋˜ ์—๋Ÿฌ๋“ค ํ•ด๊ฒฐ๋ฐฉ๋ฒ•
ยท
๐Ÿ“ETC./โš’๏ธ Tool
์ดํด๋ฆฝ์Šค ์‚ฌ์šฉํ•˜๋‹ค๊ฐ€ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ๋“ค ๋ฌธ์ œ ์ดํด๋ฆฝ์Šค์—์„œ ์ˆ˜์ •ํ•œ ํŒŒ์ผ์ด ํ†ฐ์บฃ์œผ๋กœ ์›น๋ธŒ๋ผ์šฐ์ €๋กœ ์‹คํ–‰์‹œ์ผฐ์„๋•Œ ์ˆ˜์ •์‚ฌํ•ญ์ด ๋ฐ˜์˜๋˜์ง€ ์•Š์Œ ํ†ฐ์บฃ, ์ดํด๋ฆฝ์Šค๋ฅผ ์žฌ์‹คํ–‰ํ•ด๋„ ๊ณ„์† ๊ฐ™์€ ๋ฌธ์ œ ๋ฐœ์ƒ ํ•ด๊ฒฐ๋ฐฉ๋ฒ• Window > Preferences > General > Workspace ์—์„œ Refresh using native hooks or polling ์™€ Refresh on access ์— ์ฒดํฌ -> ๊ทธ๋ž˜๋„ ํ•ด๊ฒฐ๋˜์ง€ ์•Š๋Š”๋‹ค๋ฉด ํ†ฐ์บฃ์œผ๋กœ ์‹คํ–‰ํ•œ ์›น๋ธŒ๋ผ์šฐ์ €์—์„œ f12๋ฅผ ๋ˆŒ๋Ÿฌ ๊ฒ€์‚ฌ์ฐฝ ์—ด๊ณ  ํ†ฑ๋‹ˆ๋ฐ”ํ€ด ๋ชจ์–‘์˜ ์„ค์ •์„ ๋ˆ„๋ฅธ๋‹ค. Preferences > Network์˜ Disable cache (while DevTools is open) ์— ์ฒดํฌ ํ•œ๋‹ค. ๋ฌธ์ œ jsp file์—์„œ๋Š” tabํ‚ค๋ฅผ ๋ˆŒ๋Ÿฌ๋„ ์ž๋™์™„์„ฑ์ด ๋˜์ง€ ์•Š์Œ (emmet ๊ธฐ๋Šฅ) ..