Eclipse、Egit、Github:删除推送的项目文件夹
我已经成功地创建了一个github存储库,一个本地主存储库,提交了初始更改并将它们推送到github 不幸的是,Eclipse中的项目文件夹最终位于存储库中。例如:Eclipse、Egit、Github:删除推送的项目文件夹,eclipse,git,github,Eclipse,Git,Github,我已经成功地创建了一个github存储库,一个本地主存储库,提交了初始更改并将它们推送到github 不幸的是,Eclipse中的项目文件夹最终位于存储库中。例如: <username>/<gitrepositoryname>/<eclipse project folder>/<project files & README> /// 对于大多数人来说,它看起来像: <username>/<gitrepositoryna
<username>/<gitrepositoryname>/<eclipse project folder>/<project files & README>
///
对于大多数人来说,它看起来像:
<username>/<gitrepositoryname>/<project files & README>
//
找到本教程后,我创建了一个新的本地主控
但是现在我在使用新的本地主控时遇到了一些推送问题,比如“头被拒绝-非快进”
能否请一些人帮助我在本地/远程更正此问题?有没有办法切换本地主分支,以便我可以将正确的分支与githib同步
提前感谢。修复起来非常简单:
.git
文件夹