1.git一般为三种方法:

git.bash、小乌龟、idea

2.git一些命令::

https://www.runoob.com/git/git-gitee.html

3.idea + git:

可参考视频
注意事项:
    1)提交代码时,先pull后push
    2)防止修改冲突

提交代码:

第一步:将(更改)代码放入暂存区
右击项目->git->repository->stash Changes…
git - git+idea的使用方法

第二步:代码同步本地
右击项目->git->repository->pull

第三步:将代码取出暂存区
右击项目->git->repository->Unstash Changes…
若更改代码发生冲突,提示进行手动合并

第四步:提交
git - git+idea的使用方法
commit:下拉commit and push提交远程仓库

git clone
VCS->Git->Clone

相关文章:

  • 2022-12-23
  • 2021-09-30
  • 2021-11-18
  • 2021-11-18
  • 2021-08-17
  • 2021-04-01
  • 2021-04-16
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2021-09-26
  • 2021-10-13
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
相关资源
相似解决方案