I am trying to help a friend of mine on his unity project, but I can't clone his project properly. The project I get doesn't have any scenes and no sln file. Does anybody know a solution?
Thanks!
From what you've said, it seems like your friend hasn't put the scenes and the sln file in his project. Check the repository on github to see if they are in there. If not, ask him to put them in there, but if so it's probably a problem with Git.
Also, how are you cloning it?
Related
when I create a new maven project in Eclipse (version 2022-03) I run into strange problems that I don't understand. Probably I am just too stupid;-)
Let's say I have a project called HelloWorld and I want to put it under version control in the directory d:/git/HelloWorld
When I do that in Eclipse (Team - Share project) I get a dialog (Configure git repository) and when I try to create a repository d:/git/HelloWorld, Eclipse shows me in the target location "d:/git/HelloWorld/HelloWorld" - but that's not what I want.
I'd like to have a separate repository for each project, but directly under the top level directory "d:/git".
I have found out that everything's ok, if I create the git repository in the eclipse workspace but that's not what I want either.
How can I achieve this? What am I missing here?
Strangely if I try to do the same thing in Intellij there's no problem at all
Surely I am doing something stupid - hopefully some of you can explain me what I am doing wrong here:
Thx a lot for your help,
Rudi
If you look at the git documentation here https://www.vogella.com/tutorials/EclipseGit/article.html#firstgit_with_eclipse
you'll find the missing part: you need to create the git repository before sharing. You can use the basic wizard to do 'create new git repository'.
Then when you are ready to share the project, your repository will already be in the selection list for you to pick.
Normally I get the project easily to github, but now that the project base has been cloned so I can't push it to my own repo for some security reasons.
I cloned project base using the terminal command
git clone https://github.com/username/project.git
Can anyone help with this? or link to a page where a solution can be found?
If I understand your question, I think you are looking to fork? If so, you will want to fork the original repo, and then clone your fork of it.
If that isn't what you are looking for, my next guess is you want to make the original project a dependency in your personal project. In which case, the solution will depend on your specific tech stack.
I'm sorry for the title, but that's the easiest way I could describe it.
So I didn't know how to use eclipse integrated git tool, so during last few weeks, I worked with eclipse on a project and didn't git push from there. Instead, i copied every file in eclipse-workspace/ProjectName/src/packageName in another folder which I remoted with my git and stuff, and did the usuals git add/merge/push
So basically, my github project is only the content of this file and a README, and I realize that it's really messy. How could I change that and make it right ? Is it already too late and should I just create a new project from eclipse git tool or can I rectify it ?
Thank you in advance
It is probably easier to create a new project locally, and make sure its content looks OK for you.
Clone the repo and empty its content.
Recreate your project with your new organization, add, commit and push back.
I want to create a new my own project from an existing project such as EXOplayer of Android: https://github.com/google/ExoPlayer
What should I do for this purpose?
Is there any concern to directly copy all from the repository and upload to become a new project?
I am a rookie for it so have no idea about what should I start.
Thanks
Do you mean Fork a repo? Basically you copy the entire project to your github, so you freely can make changes.
Read: https://help.github.com/articles/fork-a-repo/
Go to the project gihub link and locate the Fork :
If would you like to someone else project of your own,This process is known a forking.
Create a fork is producing a personal copy of someone else project.You can submit a Pull request to help other project make better by your changes which offering a changes up to other project.
Go through this link have more in detail Github guildlines
If you are looking to make a copy of the project in GitHub, follow the process mentioned herein by creating a fork: https://help.github.com/articles/fork-a-repo/
However, if you are looking to make a local copy, you want to Clone the repository: https://help.github.com/articles/cloning-a-repository/
I'm having a problem in GitHub desktop. I guess this is easy to solve.
When I change my branch (on Eclipse), my partner's configuration of branch changes too.
I think that is because we are using the same config file, but we are not finding it.
Could someone please help us.
Thank you
We were making all wrong.
We were linking the same central repository instead of each one create a clone of it in one's computer.
As we were linking the same folder, we were accessing the same config file, this was causing the problem.
It was a great conceptual mistake about how to use GitHub.
Thank you a lot.
Sorry about that.