Personal record <정리중>/github3
Git - why git push is not working on VSCode? Problem. I had no idea why on earth I cannot upload my work through VScode terminal. git push origin master git push -u origin master None of them worked...why? Solution. You must pull your repository first as soon as you set this: 1. git remote add origin "your repository URL" 2. git pull origin master --allow-unrelated-histories Oh my god...Guess I have to use Github Desktop for this repositor..
Git - How to use reset (back to the previous commit)? Main Objective. 1. Delete all modified codes since last commit, and return all contions to the last commit point. Note: Use at your own risk. the option '--hard' will literally revert all your work to the point where you direct. IF YOU ARE NOT SURE WHAT'S GOING ON, DON'T DO IT! THIS COMMAND WILL DELETE SOME OF YOUR WORK. How? git reset --hard HEAD^1 WARNING: I HAVE NOT TRIED THIS WAY. Still, thi..
Git - EP 1 Intro. After suffering harsh experience from Django airbnb project, I decided to learn Git immediately. Present. git log, add, commit, push Undergoing. These command now makes sense and I actually found that all commits are saved with no problem. Question is, how I can let my github to appear all the upload I commited? Should I use Github desktop? Or is there some way I can directly push and let..