我可以在git push的同时继续工作吗? [英] Can I continue working while git pushes?

查看:80
本文介绍了我可以在git push的同时继续工作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将现有代码初始导入git中,这是一个很大的代码库,因此推送很费时间.

I am doing my initial import of existing code into git, it is quite a big codebase so the push is taking it's time.

据我所知git会先进行更改,然后再上传,那么在进行推送时我是否可以安全地继续工作,还是在修改文件之前需要等待其完成?

From what I am aware git gets the changes and then does the upload, so am I safe to continue working while the push is going, or do I need to wait for it to complete before I modify the files?

推荐答案

当Git推送时,它不会读取或写入工作树中的任何内容,而只会读取.git文件夹中的内容.

When Git pushes, it doesn't read or write anything from the working tree, only stuff from the .git folder.

是的,您可以安全地继续工作.

So yes, you're safe to continue working.

这篇关于我可以在git push的同时继续工作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆