English 中文(简体)
在推进后,洗衣机可进入。
原标题:github can t access folder after push

我的工作是双管齐下,能够很好地推动/帮助ub。 但是,现在我试图把这双双双管齐下,在把新手推到一旁之后,我就能够接触到子里(它存在于ith中,但可以被点击)。 如果有人从阴道上拖走,看来是正确的卷宗规模,但在子里却没有任何东西。

我的工作方式:

  1. I ve been working in a folder and set up git there. I push this folder to github quite normally
  2. Then I put this folder in an Aptana project folder, setting git from the project folder.
  3. I set up git from an third folder, pulled from github, and deleted the content. I moved the content of Aptana project folder in, committed everything in the inner folder (the one I was working on), and committed the Aptana project folder as well.
  4. I made the push, and the subfolder seems to be empty in github

此前,我从事的事务与“主人”不同,但似乎好像把它交给主人,无助于任何途径。

任何人都知道我能做些什么? 感谢:

最佳回答

你们管理这种过渡的方式是:

  • Considering your current repo (containing the .git) as the destination directory (like an Aptana folder)
  • recreate the initial folder below the root repo directory
  • move the content in that new folder (Git will recognize it is the same content, simply at a new place),
  • add the new elements (like the Aptana project files)
  • add everything (git add -A) and commit
  • then push.

您可以控制这一移民的质量:之前>,通过克隆你当地修改的重新布局,将移民推回Gite Hub,看看当地人是否拥有一切(新)位置。

问题回答

the same thing happened with me, after I pushed a react application. I can view the folder but can t open it.

the thing I found more convenient is to delete the .git file (make sure you can display hidden files) in your application folder and create a new repo on git hub and push it again to that repo.after finishing delete that broken repo on git hub at the bottom of the repo setting page





相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...