Comments (13)
Sorry for replying so late. I have deleted my local project as well as my github account and started over. Everything is fine now. @lujiaying Could you help me close this issue? I have no access now.
from dsa-java.
@kxiao02 please make sure you "pushed" after making "commits" which are two separate steps.
from dsa-java.
@kxiao02 please make sure you "pushed" after making "commits" which are two separate steps.
@jdchoi77 I did push the whole project and it told me that everything is up-to-date. I think the problem might be that I imported the project with the remote name 'github' instead of 'origin'?
from dsa-java.
@kxiao02 the name of the branch should be origin instead of github
from dsa-java.
@jdchoi77 How can I fix that?
from dsa-java.
@kxiao02 a proper but possibly difficult way is to learn how to change a remote branch name (so much resource available for this online). An easy way is to delete your local project and repo in Github and start from scratch but this time, make sure the origin branch is setup properly.
from dsa-java.
@jdchoi77 Ok! Thank you so much :)
from dsa-java.
@kxiao02 Could you share your solution to benefit the class?
Besides, if this issue has been solved, please close it.
from dsa-java.
@lujiaying Sorry I still haven't solve the problem. There was some problem with my romote brach in the first place or I wouldn't be using 'github' instead. So simply deleting everything won't work. Maybe I'll come up with a solution to this problem tomorrow.
from dsa-java.
Got it. No worry to rush at all.
Same as Dr. Choi's suggestion, the easiest way is to delete both local codebase in your laptop and remote repository in Github to get a clean starting point. And re-do the whole process from scratch.
from dsa-java.
@lujiaying But the problem is that my remote named 'origin' leads to a 404 page that exist even if a repository is absent, and I have no clue how to get rid of it. Will deleting the local project also delete the remote, too?
from dsa-java.
@lujiaying Maybe I'll just re-do the whole process lol.
from dsa-java.
I would recommend maybe to study some core concepts "Github Remote repository vs local repository", "Github Branch".
"Origin" is the branch name, and if you previously push your local branch into remote github
branch, you would still able to push your local branch into remote origin
branch. (One Github Repo can have a bunch of branches)
After origin
branch is pushed successfully, you can safely delete github
branch.
from dsa-java.
Related Issues (20)
- [QZ1] Gradle Version? HOT 3
- Office Hours Passcode? HOT 1
- [QZ1] build.gradle, sourceCompatibility and targetCompatibility question HOT 1
- [QZ0] Didn't see the output
- [QZ0]java version
- Lecture Recordings HOT 1
- [QZ1] On "0" and "-0" as well as unit testing
- [QZ1] Regarding the Quiz1 submission
- zoom recording for 01/25 HOT 1
- [Quiz2] Submitting report on canvas?
- [HW1] How to know which specific test case we failed on and further debug? HOT 1
- [HW1] What is a sample criteria for "fast"?
- [QZ3] Testing Question
- Homework 2 Test case question
- Tries 03/01 lecture link missing
- [HW#2] Reading in the dictionary file
- [QZ5] Trie of countries?
- [HW2] Test HOT 1
- [HW3] Is it possible to know the running results of gold of MSTAllHwTest?
- [QZ9] Can an augmenting path contain cycle? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsa-java.