Skip to content

YoungHaKim7/git_training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


link





기본 루틴 Github기준

# …or create a new repository on the command line

echo "# rust_test_training" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/YoungHaKim7/rust_test_training.git
git push -u origin main



# …or push an existing repository from the command line

git remote add origin https://github.com/YoungHaKim7/rust_test_training.git
git branch -M main
git push -u origin main
$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Initialized empty Git repository in /home/y/my_project/rust_lang/9999/rust_test_training/.git/


힌트: 초기 브랜치의 이름으로 '마스터'를 사용합니다. 이 기본 브랜치 이름은
힌트: 변경될 수 있습니다. 초기 분기 이름을 모두 사용하도록 구성하려면
힌트: 이 경고를 억제할 새 리포지토리에 대해 다음과 같이 전화하세요:
힌트:
힌트: git config --global init.defaultBranch <name>
힌트:
힌트: '마스터' 대신 일반적으로 선택되는 이름은 '메인', '트렁크', 그리고
힌트: '개발'. 방금 생성된 분기는 이 명령을 통해 이름을 변경할 수 있습니다:
힌트:
힌트: git 브랜치 -m <이름>

250225)Git 코어 개발자는 Git을 어떻게 설정하고 사용할까? (blog.gitbutler.com)

  • by xguru 2일전
  • "Pro Git" 저자인 Scott Chacon이 글로벌로 활성화한 몇 가지 Git 설정과 그 이유를 설명
  • 설정 중 다수는 실제로 Git 코어 코드베이스를 작업하는 개발자들로부터 배운 것임
  • 아래는 Git을 더 좋게 만드는 ~/.gitconfig 설정

GitHub 프로젝트에 기여하기|🔝|

https://git-scm.com/book/ko/v2/GitHub-GitHub-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8%EC%97%90-%EA%B8%B0%EC%97%AC%ED%95%98%EA%B8%B0



gh로그인 할때 브라우져 강제로 띄우기|🔝|


rust개발자를 위한 git사용법 기초지식|🔝|


git 처음 만들어서 git연결 |🔝|

echo "# Makefile_training" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/YoungHaKim7/Makefile_training.git
git push -u origin main

.gitignore 느낌표 표시가 무슨 의미인지 알아보자|🔝|

https://codingdog.tistory.com/entry/gitignore-%ED%8C%8C%EC%9D%BC%EC%97%90-%EC%9E%88%EB%8A%94-%EB%AC%B4%EC%8B%9C-%ED%8C%A8%ED%84%B4%EA%B3%BC-%EB%8A%90%EB%82%8C%ED%91%9C-%ED%8C%A8%ED%84%B4%EC%9D%84-%EA%B0%84%EB%8B%A8%ED%95%98%EA%B2%8C-%EC%95%8C%EC%95%84%EB%B4%85%EC%8B%9C%EB%8B%A4


github 프로젝트 릴리즈 하는 법|🔝|




  • https://jvns.ca/blog/2024/02/16/popular-git-config-options/
  • pull.ff only 또는 pull.rebase true
    • 두 설정 모두 git pull을 실행할 때 브랜치가 상위 브랜치와 다를 경우 실수로 병합 커밋을 생성하는 것을 방지하기 위함.
    • pull.rebase true는 매번 git pull --rebase를 실행하는 것과 동일.
    • pull.ff only는 매번 git pull --ff-only를 실행하...

Git Cheat Sheet|🔝|

Screenshot from 2024-07-13 19-59-31


gitignore규칙 한글로 잘 정리됨( 모든 폴더 하위폴더까지 적용하는것까지!!)|🔝|

https://nochoco-lee.tistory.com/46


A collection of useful .gitignore templates |🔝|](#link)


git_training|🔝|

git 사용법 (한글설명)|🔝|

https://youtu.be/ZqhJnaAPokk

GitLab : Merge Request|🔝|

https://youtu.be/XsyY50cn6s8


Git and GitHub - 0 Experience to Professional in 1 Tutorial (Part 1) | SuperSimpleDev|🔝|

https://youtu.be/hrTQipWp6co

Git and GitHub - 0 Experience to Professional in 1 Tutorial (Part 2) | SuperSimpleDev|🔝|

https://youtu.be/1ibmWyt8hfw


Complete Git and GitHub Tutorial for Beginners | Apna College|🔝|

https://youtu.be/Ez8F0nW6S-w?si=WB0ZbFC18IHuXboi


git diff|🔝|

git status -sb|🔝|

  • git status

    • 이것만 썼는데 뒤에 옵션이 붙는다. 다 찾아보자
  • 요약해서 status볼 수 있다.??

git add 다양한 활용법|🔝|

Git PULL vs FETCH | The Modern Coder|🔝|



GitLab에서 git 배우기|🔝|

https://docs.gitlab.com/ee/tutorials/learn_git.html

GitLab Publish 배포|🔝|

Github보다 보면 read-only로 표시된 경우를 볼 수 있다. 그 이유는|🔝|

git submodule 삭제하는법|🔝|

http://snowdeer.github.io/git/2018/08/01/how-to-remove-git-submodule/

  • 먼저 git submodule deinit -f 명령어를 통해서 해당 모듈을 deinit 해줍니다.
git submodule deinit -f test_app
  • 그 다음 .git/modules 폴더에 들어가서 해당 폴더를 삭제합니다.
rm -rf .git/modules/test_app
  • 마지막으로 git에서 해당 폴더를 제거해주면 됩니다.
git rm -f test_app

git 기존 git에 덮어씌우기_존재하는 폴더를 git올리기|🔝|

$ git init
  git add README.md
  git commit -m "first commit"
  git branch -M main
  git remote add origin https://github.com/YoungHaKim7/Investment.git
  git push -u origin main

git submodule update|🔝|

cd SDL
git pull
cd ..

cd SDL_ttf
git pull

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published