상세 컨텐츠

본문 제목

[Github] How to upload modified file to git(Windows)

IT Convergence Engineering/AI

by Soo_buglosschestnut 2020. 9. 22. 11:24

본문

How to upload modified file to git(Windows)


 

1. 이 글을 쓰기 위해 section01.py 파일을 다음과 같이 수정했다~

2. 다음과 같이 적어주고, 현재 상태를 확인한다.

# 현재 project의 상태를 확인!
git status

그러면 이렇게 modified:        (수정된 파일) 이렇게 나온다!

 

3. 다음과 같이 작성~

1. git add <Modified_File_Name>

2. git commit -m "<Your_Comment>" # 전체 변경
or git commit -m "<Yout_Comment>" <modified_file> <modified_file> # 수정된 파일만 변경

3. git push origin master

수정된 파일에만 commit 변경  ↓

만약에 pushing할때 오류나면

# pushig할때 오류 발견시
git push --force origin master

이렇게 똑같이 쓰면 되지 않을까? (아직 오류가 나본적이 없음.)

 

4. 바뀐거 확인!

 

끝~

 

참고:

stackoverflow.com/questions/35559968/how-to-push-this-modified-file-to-github-repository

 

how to push this modified file to github repository

how can i push this modified file in github % git status # On branch master # Changed but not updated: # (use "git add ..." to update what will be committed) # (use...

stackoverflow.com


ⓐmd image 넣기 & resize

bugloss-chestnut.tistory.com/entry/Github-READMEmd%EC%97%90-Image-%EB%84%A3%EA%B8%B0-Image-Size-%EC%A1%B0%EC%A0%88%ED%95%98%EA%B8%B0

 

[Github] README.md에 Image 넣기 & Image Size 조절하기

README.md에 Image 넣기 & Image Size 조절하기 README.md에 Image 넣기 1. issues - write에 사진 drop down 시킨 후, 주소(https://~~.jpg(.png)) 복사하기 Code 실행 화면 ↓ README.md에서 Image size..

bugloss-chestnut.tistory.com

android app icon 만드는방법

bugloss-chestnut.tistory.com/entry/Android-App-Icon-%EC%A0%81%EC%9A%A9%ED%95%98%EA%B8%B0

 

[Android] App Icon 적용하기

App Icon 적용하기 AI Mushroom App을 꾸며볼려고 App Icon으로 바꾸는 방법에 대해 찾아 보았다~ 위 프로젝트 한지 시간이 좀~ 흘렀지만 그래도 정리해야지~  Store에 적용되는 icon size는 512x512 이다. 그..

bugloss-chestnut.tistory.com

git 연결 제거

bugloss-chestnut.tistory.com/entry/Github-How-to-disconnect-local-git-repo-from-remote

 

[Github] How to disconnect local git repo from remote

How to disconnect local git repo from remote bugloss-chestnut.tistory.com/entry/Github-How-to-upload-a-project-to-GithubWindows [Github] How to upload a project to Github(Windows) How to uplo..

bugloss-chestnut.tistory.com

jupyter notebook chrome으로 실행하기

bugloss-chestnut.tistory.com/entry/Jupyter-Notebook-Chrome%EC%9C%BC%EB%A1%9C-%EC%8B%A4%ED%96%89%ED%95%98%EA%B8%B0-%EC%8B%A4%ED%96%89-%EC%9C%84%EC%B9%98-%EC%A7%80%EC%A0%95%ED%95%98%EA%B8%B0

 

[Jupyter Notebook] Chrome으로 실행하기 & 실행 위치 지정하기

Chrome으로 실행하기 & 실행 위치 지정하기 Jupyter Notebook(Anaconda3)을 실행시키면 Internet Exploer로 실행되서 조금 불편~ ㅠㅠ 그래서 또 Chrome으로 실행하는 방법을 열심히 구글링!! 1, jupyter_note..

bugloss-chestnut.tistory.com

git collaborators 추가 방법

bugloss-chestnut.tistory.com/entry/Github-How-to-add-Git-Collaborator

 

[Github] How to add Git Collaborator

How to add Git Collaborator How to add Git Collaborator Settings - Manage access Click! 2. Invite a collaborator Click! 3. Github ID 입력하기! → Add "Github ID" to this respository Click! 4. 확..

bugloss-chestnut.tistory.com

 

관련글 더보기