随笔分类 -  git

摘要:新建一个本地分支,将一个远程分支 checkout 到新建的那个本地分支。 注意:`` 必须是新的本地分支,不能和已有的本地分支同名。 如果你指定的 相同,则可简写为 其中 可简写为 。 git push Local branch 'master' set up to track remote br 阅读全文
posted @ 2019-09-23 22:20 Pat 阅读(172) 评论(0) 推荐(0) 编辑
摘要:两条重要的 Git 命令: The git rm command removes files from the index , or from the working tree and the index. git rm will not remove a file from just your w 阅读全文
posted @ 2016-12-17 23:29 Pat 阅读(305) 评论(0) 推荐(0) 编辑
摘要:Committer: root 您的姓名和邮件地址基于登录名和主机名进行了自动设置。请检查它们正确 与否。您可以通过下面的命令对其进行明确地设置以免再出现本提示信息: git config global user.name "Your Name" git config global user.ema 阅读全文
posted @ 2016-11-27 17:13 Pat 阅读(2909) 评论(0) 推荐(0) 编辑
摘要:今天把OJ项目移到了GitHub上, 学了一点Git. Git is responsible for everything GitHub related that happens locally on your computer. 阅读全文
posted @ 2016-10-29 19:10 Pat 阅读(184) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示