limted use, may lose everything on local using git reset --hard HEAD [Carefully]
git reset --hard HEAD
git pull
[Revise, Editing]
git add .
git commit -m 'messages'
git push origin master
Please Commit As Much As Possible, All Your Current Process.
here are basic git commands, we all use master for eazy manipulations:
- On Mac, open terminal. If block, try
sudoorsudo su
On PC, please download Git Bash for Windows https://gitforwindows.org/ git clone https://github.com/ChloeZPan/Learning.gitgit status
IF it shows: "nothing to commit", THEN go to Step 6; ELSE continue Step 4.git add .ORgit add <file name>git commit -m 'any message you want, but meaningfulgit pull
IF it shows: "CONFLICT (content): Merge conflict in" or "Automatic merge failed; fix conflicts and then commit the result.", THEN please fix those conflict in IDE, then back to Step 4, loop till the user change from(master|MERGING)to(master)git push origin master
- Change is Inevitable
- Fail Fast
- Pursuing "Optimal"
- (* you name it)
- simple is good
- Do the right thing or do the wrong thing, but just do something
- …do it right @#!!now, assess and improve your tactical angle.
- Research is writing. Writing is research.
- Always take care of your people
- Don't command - lead.
- Teach what you need from people before you judge performance.
- Find a way to say YES! when people ask you for help… and when you say yes, do it
- Invest time wisely like the precious commodity it is.
- Take the time to decide how you’ll recognize success. If you don’t know where its