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.
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?
Pushing with git push from the terminal takes less than 5 seconds. Actual behavior: Pushing in Atom takes several minutes.
The git push command is used to upload local repository content to a remote repository. Pushing is how you transfer commits from your local repository to a remote repo. It's the counterpart to git fetch , but whereas fetching imports commits to local branches, pushing exports commits to remote branches.
No, you must make a commit before you can push. What is being pushed is the commit (or commits). Save this answer.
Understand the usage and impact of this popular Git command on your project, learn new safer alternatives, and grasp the skills of restoring a broken branch. Most know that using Git's push --force command is strongly discouraged and is considered destructive.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With