본문 바로가기

728x90

Development/Git

(6)
[Git] Github Action [홈페이지] github.com/features/actions Features • GitHub Actions Easily build, package, release, update, and deploy your project in any language—on GitHub or any external system—without having to run code yourself. github.com [공식 문서] docs.github.com/en/actions GitHub Actions Documentation - GitHub Docs Automate, customize, and execute your software development workflows right in your repository with..
[Git] Gitflow 협업을 하다보면 Git 은 필수인 시대가 되었습니다. Git 을 사용하다보면 하나의 규칙으로 사용하는데 필요성을 느낍니다. 이러한 개발자들을 위해 Gitflow, Github flow, Gitlab flow 등의 Workflow 전략들이 제시되었습니다. Gitflow Gitflow 는 가장 최초로 제안된, 그리고 가장 유명한 Git Workflow입니다. Gitflow 는 브랜치 전략에 있어서 다른 Workflow 보다 엄격합니다. 때문에 이 Workflow 는 대규모의 프로젝트를 관리하는데 적합한 것으로 평가 받고 있습니다. 또 Gitflow 는 계획적인 릴리즈 계획을 갖고 있는 프로젝트에 유용하게 사용할 수 있습니다. Gitflow 의 브랜치 전략 Gitflow 의 작업 방식을 이해하려면 Gitflo..
[Git] Error - refusing to allow an OAuth App to create or update workflow `.github/workflows/deploy.yml` without `workflow` scope Pycharm에서 Commit 후 Push를 진행하는 과정에서 Push rejected라는 에러가 발생하였습니다. 대다수의 블로그에서는 다음과 같은 방법으로 문제를 해결하라고 하였습니다. Git Settings에서 Developer Option의 Personal Access Token을 보면 표가 나옵니다. 그 중에서 workflow 란이 체크가 되어있는지 확인해야 합니다. 그리고 업데이트를 누르고 돌아오면 된다고 했습니다. 하지만 에러가 해결되지는 않았다. 그러다가 한 블로그에서 해결방법을 찾았다. [참고] buddev.tistory.com/90 [Git Error 해결하기] [remote rejected] (refusing to allow an OAuth App to create or update w..
[Git] warning: LF will be replaced by CRLF in file git 명령어를 사용하여 작업을 할때 다음과 같은 에러가 발생합니다. 유닉스 OS warning: CRLF will be replaced by LF in file Windows warning: LF will be replaced by CRLF in file 이는 맥 또는 리눅스를 쓰는 개발자와 윈도우를 쓰는 개발자가 git으로 협업을 할 때 발생하는 Whitespace 에러입니다. 유닉스 시스템에서는 한 줄의 끝이 LF(Line Feed)로 이루어지는 반면, 윈도우에서는 줄 하나가 CR(Carriage Return)와 LF(Line Feed), CRLR로 이루어지기 때문입니다. 이 에러는 Git에서 어떠한 기능을 통해서 자동으로 LF --> CRLF, CRLF --> LF변환을 해줍니다. 해결방법은 co..
[Git] Error: Repository not found git init을 통해서 .git 폴더를 만들고 초기화까지 했습니다. $ git init 그리고 나서 순차적으로 git에 레포지터리를 push 하는 과정까지 진행했습니다. $ git add . $ git commit -m "first commit" $ git branch -M main $ git remote origin add https://github.com//.git $ git push -u origin main 하지만 git push 과정에서 에러가 발생하였습니다. remote: Repository not found fatal: repository '.git/' not found 다음의 블로그에서 해결책을 얻었습니다. recoveryman.tistory.com/392 [깃허브(Github)] 21...
[Git] .gitignore 와 .gitattributes 차이점 .gitignore github에 commit할 경우에 제외할 목록을 적는 곳이다. .gitattributes git에 있는 LFS(Large File System)에서 관리하기 위해 추적할 리스트를 작성하는 곳이다.

728x90