Silver Library (Archived)
[Radical Treatment] git push error 본문
Though this is known as not recommended...this still works perfectly IF that is for a personal project.
Radical solution:
<Caution: do not attempt this in a group project unless you know what'd happen>
In my case, I firstly disconnected the local git repository(VSCode) to my remote master (github repository) one.
To do that, I commenced this code:
git remote rm origin
This will certainly solve any git push & pull error issue.
How I encountered such error?
When I started git remote code from a subfolder of its project, and encountered this error code once I try to commit it from upper location(of where it connected with the local git repository).
source:
https://stackoverflow.com/questions/20467179/git-push-rejected-non-fast-forward
Need to research:
What kind of clash will I face if I use this in a group project?
'Personal DB' 카테고리의 다른 글
How I define - for loop (0) | 2022.04.05 |
---|---|
Simple explanation - Runtime complexity (0) | 2022.03.28 |
Software engineer? Or developer? (0) | 2022.03.24 |
[용어] FAANG-type companies (0) | 2022.01.03 |
Update Powershell via command line (0) | 2022.01.02 |