
Git
worldzhy
感觉
展开
-
gitignore does not work
在.gitignore文件中新增想要ignore的文件路径,但是不生效。原创 2024-08-30 01:48:38 · 420 阅读 · 0 评论 -
git clone private repo
【代码】git clone private repo。原创 2024-08-04 01:56:18 · 260 阅读 · 0 评论 -
bitbucket 配置 SSH keys
拉取bitbucket上的代码需要配置SSH key。原创 2023-06-26 11:13:57 · 1752 阅读 · 0 评论 -
git 在Ubuntu14.04环境上连接不上bitbucket
报错信息fatal: unable to access 'https://...@bitbucket.org/.../myproj.git/': gnutls_handshake() failed: Handshake failed解决方法Atlassian论坛https://community.atlassian.com/t5/Bitbucket-questions/Cannot-pull-from-bitbucket-using-https-on-ubuntu-14-04/qaq-p/1.原创 2021-10-12 17:22:14 · 364 阅读 · 0 评论 -
git 常用指令
1. 查看远程分支git branch -a2. 如果没发现想要的远程分支,更新远程分支列表git remote update origin3. 切换至某个远程分支git checkout -b somebranch remotes/origin/somebranch4.如上图,Pull报错,又不敢轻易Push,遇到这种恼火的情况就像完全放弃本地修改,但是软件...原创 2019-01-07 14:31:00 · 278 阅读 · 0 评论