Github怎么关闭自动同步
-
关闭 Github 的自动同步可以通过以下步骤实现:
1. 首先,登录到您的 GitHub 帐号。
2. 在页面右上角的下拉菜单中,选择「Settings」选项。
3. 在「Settings」页面中,选择「Developer settings」标签。
4. 在「Developer settings」页面中,选择「Personal access tokens」选项。
5. 在「Personal access tokens」页面中,如果您尚未创建访问令牌,则点击「Generate new token」按钮创建一个新的访问令牌。
6. 在创建新访问令牌的页面中,输入一个描述并选择相应的权限。
7. 在权限列表中,找到「repo」并取消勾选该选项。这将阻止访问和同步您的仓库。
8. 确认所做的更改,并点击「Generate token」按钮生成新的访问令牌。
9. 在生成令牌后,将令牌复制到剪贴板中。
10. 返回到「Settings」页面。
11. 在「Settings」页面中,选择「Repositories」标签。
12. 在「Repositories」标签页面中,选择您要关闭自动同步的仓库。
13. 在仓库页面中,选择「Settings」选项卡。
14. 在仓库设置页面中,滚动到页面底部,找到「Dependabot」部分,并点击「Edit」按钮。
15. 在「Dependabot」设置页面中,将「Enable Dependabot alerts」选项设为关闭状态,然后保存更改。
16. 回到仓库设置页面,向下滚动到「Danger Zone」部分。
17. 在「Danger Zone」部分,找到「Delete this repository」选项并点击。
18. 在确认删除仓库的提示框中,输入仓库名称以确认删除操作,并点击「I understand the consequences, delete this repository」按钮删除仓库。
以上就是关闭 Github 自动同步的步骤。请注意,删除仓库是一个不可逆的操作,务必谨慎操作。
2年前 -
关闭Github的自动同步功能很简单,只需要按照以下步骤进行操作:
1. 打开Github的官方网站,并登录到您的账户。
2. 进入您想要关闭自动同步的仓库的页面。
3. 在仓库页面的右上方,点击页面上方的”Settings”(设置)按钮。
4. 在仓库设置页面,向下滚动,找到”Options”(选项)选项卡,并点击进入。
5. 在选项卡中,您会看到一个名为”GitHub Pages”(GitHub页面)的子选项卡。点击进入。
6. 在GitHub Pages选项卡下的”Source”(来源)部分,您会找到一个下拉菜单。该菜单用于选择您想要使用的分支或文件夹来生成GitHub页面。如果您的自动同步功能已经打开,通常选项会显示为”master branch”(主分支),或者其他您设定的分支。
7. 点击下拉菜单,并选择”None”(无)选项。这将关闭自动同步功能。
8. 提交更改后,页面将会自动刷新,并显示更改已经生效。
请注意,关闭自动同步功能后,您将无法使用GitHub Pages功能来生成网页。如果您之后想要重新开启自动同步功能,只需要重复以上步骤,选择合适的分支或文件夹即可。
2年前 -
Closing automatic synchronization on Github can be done by following the steps below:
Step 1: Access the Github repository
Open your web browser and go to the Github website (https://github.com/). Sign in to your account if you haven’t already done so. Once you are signed in, navigate to the repository that you want to close automatic synchronization for.Step 2: Access repository settings
Within the repository, click on the “Settings” tab located towards the right-hand side of the page, next to the “Insights” tab.Step 3: Locate the Automatic synchronization option
In the left menu of the Settings page, scroll down and find the “Options” section. Look for the “Automatic synchronization” option within this section.Step 4: Disable Automatic synchronization
To disable Automatic synchronization, uncheck the box next to the “Automatically sync this repository” option. Make sure that the box is empty.Step 5: Save changes
Scroll down to the bottom of the page and click the “Save changes” button to apply the changes and turn off automatic synchronization for your repository.Once you have followed these steps, the automatic synchronization feature will be disabled for the repository. It’s important to note that this process can be done for individual repositories and not for your entire Github account. If you want to disable automatic synchronization for multiple repositories, you will need to repeat these steps for each one.
Closing automatic synchronization can be useful if you want more control over the changes made to your repository. It allows you to manually update and synchronize your repository, giving you greater flexibility in managing your work.
2年前